BarManager.ShowScreenTipsInToolbars Property
Gets or sets whether hints are enabled for bar item links displayed within toolbars.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[DefaultValue(true)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public bool ShowScreenTipsInToolbars { get; set; }
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 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:
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;
}
}