'Declaration Public Event QueryDisplayRoleUI As QueryDisplayRoleUIEventHandler
public event QueryDisplayRoleUIEventHandler QueryDisplayRoleUI
The event handler receives an argument of type QueryDisplayRoleUIEventArgs containing data related to this event. The following QueryDisplayRoleUIEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CanDisplaySelectionUI | Returns or sets whether the selection ui may be displayed for the specified ComponentRole. |
ComponentRole | Returns the ComponentRole associated with the Control for which the event is being fired. |
Control | Returns the control for which the ui role selection will be displayed. |
FilterState | Returns or sets an enumeration indicating the current filtered state of the component role. |
The event is only invoked when the Enabled is set to true.
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