Back to Devexpress

BarManager.ShowScreenTipsInToolbars Property

windowsforms-devexpress-dot-xtrabars-dot-barmanager-e66ed65b.md

latest3.6 KB
Original Source

BarManager.ShowScreenTipsInToolbars Property

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

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

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 Hints and 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:

csharp
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

ShowScreenTipsInMenus

ShowShortcutInScreenTips

Hint

SuperTip

ToolTipController

AllowToolTips

Hints and Tooltips

BarManager Class

BarManager Members

DevExpress.XtraBars Namespace