Bar

BarManager.ShowScreenTipsInToolbars Property

Gets or sets whether hints are enabled for bar item links displayed within toolbars.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(true)]
[XtraSerializableProperty]
public bool ShowScreenTipsInToolbars { get; set; }
<DXCategory("Appearance")>
<DefaultValue(True)>
<XtraSerializableProperty>
Public Property ShowScreenTipsInToolbars As Boolean

Property Value

Type Default Description
Boolean

true

true, if hints are enabled for bar item links displayed within toolbars; otherwise, false.

Remarks

The ShowScreenTipsInToolbars property allows you to enable hints for bar item links when they are displayed within toolbars. Bar item hints can be specified using the BarItem.Hint and BarItem.SuperTip properties.

You can also specify whether or not to display tooltips for item links within context menus via the BarManager.ShowScreenTipsInMenus property.

By default, tooltips are handled by the DefaultToolTipController. You can use this component to customize the style and behavior settings for tooltips. See Tooltips for more information.

The ShowScreenTipsInToolbars property is not supported for the RibbonControl. To disable tooltips for a RibbonControl, you can handle the ToolTipController.GetActiveObjectInfo event of a ToolTipController or DefaultToolTipController object:


using DevExpress.Utils;
using DevExpress.XtraBars.Ribbon;

ToolTipController.DefaultController.GetActiveObjectInfo += 
new ToolTipControllerGetActiveObjectInfoEventHandler(DefaultController_GetActiveObjectInfo);

void DefaultController_GetActiveObjectInfo(object sender, ToolTipControllerGetActiveObjectInfoEventArgs e) {
    if (e.SelectedControl is RibbonControl) {
        e.Info = null;
    }
}
See Also