ToolTipControllerEventArgsBase.SelectedControl Property

Gets or sets the control for which a tooltip controller's event is fired.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v20.1.dll

Declaration

public Control SelectedControl { get; set; }
Public Property SelectedControl As Control

Property Value

Type Description
Control

A Control object for which the event is fired.

Remarks

Use the SelectedControl property to get the control for which a tooltip controller's event is fired. If a tooltip is invoked for a GridControl's element, for instance, the SelectedObject property will refer to the grid itself. If the tooltip is about to be displayed for the SimpleButton, then SelectedControl will refer to this button, etc

For controls that support displaying different tooltips for different control elements (GridControl, ButtonEdit, for instance), you can use the ToolTipControllerEventArgsBase.SelectedObject property to access the required element.

See Also