GridBand.ToolTip Property

Gets or sets a custom tooltip for the band.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue("")]
[XtraSerializableProperty]
public virtual string ToolTip { get; set; }
<DXCategory("Appearance")>
<DefaultValue("")>
<XtraSerializableProperty>
Public Overridable Property ToolTip As String

Property Value

Type Default Description
String

String.Empty

A string, which is a custom tooltip for the band.

Remarks

When the View's BandedGridOptionsHint.ShowBandHeaderHints option is set to true, tooltips are supported for Band Headers.

When hovering with a mouse pointer over a band header where text is trimmed, a default tooltip is displayed. The default tooltip contains the band's non-trimmed caption (GridBand.Caption).

The ToolTip property allows you to provide a custom tooltip for a band. When a custom tooltip is assigned to the band, it's displayed when an end-user hovers the mouse pointer over the band's header, regardless of whether the band's caption is trimmed or not.

See Also