Version

QueryComponentRole Event

Event invoked when a new control is encountered to obtain its associated Infragistics.Win.AppStyling.ComponentRole.
Syntax
'Declaration
 
Public Event QueryComponentRole As QueryComponentRoleEventHandler
public event QueryComponentRoleEventHandler QueryComponentRole
Event Data

The event handler receives an argument of type QueryComponentRoleEventArgs containing data related to this event. The following QueryComponentRoleEventArgs properties provide information specific to this event.

PropertyDescription
ComponentRole Returns or sets the Infragistics.Win.AppStyling.ComponentRole for the specified Control.
Control Returns the control for which the ComponentRole is being requested.
Remarks

The event is only invoked when the Enabled is set to true.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also