Method OnGettingAttributeForRole
OnGettingAttributeForRole(in VisualRole, ref Attribute)
Called when the Attribute for a GetAttributeForRole(VisualRole) is being retrieved. Implementations can return true to stop further processing and optionally set the Attribute in the event args to a different value.
protected override bool OnGettingAttributeForRole(in VisualRole role, ref Attribute currentAttribute)
Parameters
role
VisualRolecurrentAttribute
AttributeThe current value of the Attribute for the VisualRole. This by-ref value can be changed