Skip to main content
A newer version of this page is available. .

ContextItemCollectionOptions.ShowToolTips Property

Gets or sets whether tooltips are shown when the mouse pointer hovers over context buttons.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v21.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Win.Design, DevExpress.Wpf.Core

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public bool ShowToolTips { get; set; }

Property Value

Type Default Description
Boolean **true**

true, to show tooltips for context buttons; otherwise, false.

Property Paths

You can access this nested property as listed below:

Show 49 property paths
Object Type Path to ShowToolTips
AccordionControl
.ContextButtonsOptions .ShowToolTips
TileBar
.ContextButtonOptions .ShowToolTips
BaseCheckedListBoxControl
.ContextButtonOptions .ShowToolTips
BaseDateControl
.ContextButtonOptions .ShowToolTips
BaseImageListBoxControl
.ContextButtonOptions .ShowToolTips
BaseListBoxControl
.ContextButtonOptions .ShowToolTips
CameraControl
.ContextButtonOptions .ShowToolTips
CheckedListBoxControl
.ContextButtonOptions .ShowToolTips
CalendarControl
.ContextButtonOptions .ShowToolTips
CalendarControlBase
.ContextButtonOptions .ShowToolTips
ImageSlider
.ContextButtonOptions .ShowToolTips
DateControl
.ContextButtonOptions .ShowToolTips
ImageListBoxControl
.ContextButtonOptions .ShowToolTips
ListBoxControl
.ContextButtonOptions .ShowToolTips
RepositoryItemBaseSpinEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemBlobBaseEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemBreadCrumbEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemCalcEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemCheckedComboBoxEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemColorEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemColorPickEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemComboBox
.ContextButtonOptions .ShowToolTips
RepositoryItemDateEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemDateTimeOffsetEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemFontEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemGridLookUpEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemGridLookUpEditBase
.ContextButtonOptions .ShowToolTips
RepositoryItemImageComboBox
.ContextButtonOptions .ShowToolTips
RepositoryItemImageEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemLookUpEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemLookUpEditBase
.ContextButtonOptions .ShowToolTips
RepositoryItemMemoExEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemMRUEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemPictureEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemPopupBase
.ContextButtonOptions .ShowToolTips
RepositoryItemPopupBaseAutoSearchEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemPopupContainerEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemPopupGalleryEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemSearchControl
.ContextButtonOptions .ShowToolTips
RepositoryItemSearchLookUpEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemSpinEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemTimeEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemTimeSpanEdit
.ContextButtonOptions .ShowToolTips
RepositoryItemTreeListLookUpEdit
.ContextButtonOptions .ShowToolTips
SvgImageBox
.ContextButtonOptions .ShowToolTips
TileControl
.ContextButtonOptions .ShowToolTips
TileViewOptionsKanban
DateNavigator
.ContextButtonOptions .ShowToolTips
ResourcesCheckedListBoxControl
.ContextButtonOptions .ShowToolTips

Remarks

Use a context button’s SuperTip property to assign a super tooltip to the button. To assign a regular tooltip, use the following properties:

  • ToolTip — gets or sets the tooltip text.
  • ToolTipTitle — gets or sets the title displayed above the text.
  • ToolTipIconType — gets or sets the icon that indicates whether the tooltip contains an error, warning, question, or other information.

See the following topic for more information about regular and super tooltips: Tooltips.

Rating Scale and Track Bar

The RatingContextButton and TrackBarContextButton show the current rating and track value in the default tooltips.

ShowToolTips

You can handle the owner control’s CustomContextButtonToolTip or the button’s CustomToolTip event to specify custom tooltips. Use the Value event argument to obtain the current value and the Text event argument to specify the tooltip text.

Note

The owner control’s CustomContextButtonToolTip event fires after the button’s CustomToolTip event and overrides its tooltips. Also note that these events do not fire if a super or regular tooltip is assigned to the button.

Disable Tooltips

You can also disable the owner control’s ShowToolTips option to hide tooltips. The button’s ShowToolTips property overrides this option for an individual button.

PropertiesShowToolTips

pictureEdit1.Properties.ContextButtonOptions.ShowToolTips = false;

Note

If a context button’s Enabled property is set to false, tooltips are not displayed regardless of the owner control’s ShowToolTips option or the button’s ShowToolTips property.

See Also