Skip to main content

ToolTipControlInfo.ForcedShow Property

Gets or sets whether the tooltip should be forcibly shown for the same visual element via the ToolTipController.ShowHint method.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

Declaration

public DefaultBoolean ForcedShow { get; set; }

Property Value

Type Description
DefaultBoolean

A DefaultBoolean enumeration value that specifies whether the tooptip should be forcibly shown for the same visual element.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Remarks

The ToolTipControlInfo.Object property identifies the visual element for which the tooltip should be shown. This unique identifier can be retrieved via the ToolTipController.ActiveObject propety. If the ForcedShow property is set to Default or False, the ToolTipController shows the tooltip for this visual element only as result of the first call to the ToolTipController.ShowHint method. Further calls to this method are not in effect until the ToolTipController.ActiveObject is changed. Set the ForcedShow property to True to forcibly show the tooltip for the same visual element via the ToolTipController.ShowHint method even if the tooltip has already been shown.

The ForcedShow property is not intended for tooltips supplied by ToolTipController.GetActiveObjectInfo event handlers. These tooltips are shown when the mouse hovers over the required visual element. See the ToolTipController.GetActiveObjectInfo event for details.

See Also