Back to Devexpress

GridOptionsHint.ShowColumnHeaderHints Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionshint-6d16d175.md

latest2.7 KB
Original Source

GridOptionsHint.ShowColumnHeaderHints Property

Gets or sets whether the view displays tooltips for column headers with truncated captions.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ShowColumnHeaderHints { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property ShowColumnHeaderHints As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to display hints for column headers with truncated captions; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowColumnHeaderHints
GridView

.OptionsHint .ShowColumnHeaderHints

|

Remarks

If the ShowColumnHeaderHints option is enabled, the view displays tooltips for truncated captions in column headers. The default tooltip contains the Caption property’s non-truncated value.

Use the ToolTip property to specify a custom tooltip. A custom tooltip is displayed regardless of whether the caption is truncated.

See Also

ToolTip

Data Grid Tooltips

Hints and Tooltips

GridOptionsHint Class

GridOptionsHint Members

DevExpress.XtraGrid.Views.Grid Namespace