protected override void InitialiseWithAttributes()
{
if (_attributes["rightClickEnabled"] != null)
{
string rightClickEnabled = (string)_attributes["rightClickEnabled"];
if (rightClickEnabled != "true" && rightClickEnabled != "false")
{
throw new InvalidXmlDefinitionException("An error " +
"occurred while reading the 'rightClickEnabled' parameter " +
"from the class definitions. The 'value' " +
"attribute must hold either 'true' or 'false'.");
}
}
base.InitialiseWithAttributes();
}