Event GettingAttributeForRole
Raised when the Attribute for a GetAttributeForRole(VisualRole) is being retrieved.
Handlers should check if Cancel
has been set to true and do nothing if so. If Cancel is false
a handler can set it to true to stop further processing optionally change the
CurrentValue
in the event args to a different value.
public event EventHandler<VisualRoleEventArgs>? GettingAttributeForRole
Returns
- EventHandler<VisualRoleEventArgs>
- Raised when the Attribute for a is being retrieved. Handlers should check if has been set to true and do nothing if so. If Cancel is false a handler can set it to true to stop further processing optionally change the CurrentValue in the event args to a different value.