Back to Devexpress

TreeListColumn.AppearanceHeader Property

windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistcolumn-d46c63bc.md

latest2.6 KB
Original Source

TreeListColumn.AppearanceHeader Property

Gets the appearance settings used to paint the column header.

Namespace : DevExpress.XtraTreeList.Columns

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
[XtraSerializablePropertyId(1)]
public AppearanceObject AppearanceHeader { get; }
vb
<XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)>
<XtraSerializablePropertyId(1)>
Public ReadOnly Property AppearanceHeader As AppearanceObject

Property Value

TypeDescription
AppearanceObject

A AppearanceObject object that contains the column header’s appearance settings.

|

Remarks

The AppearanceHeader property contains appearance settings of individual column headers. Use the TreeList.Appearance.HeaderPanel property to customize appearance settings of all column headers in the TreeList.

You can also handle the TreeList.CustomDrawColumnHeader event to manually paint column headers.

Tip

Column headers support DX Skin Colors. You can use DX Skin Colors to specify the background color of column headers (TreeListColumn.AppearanceHeader.BackColor).

See Also

HeaderPanel

CustomDrawColumnHeader

TreeListColumn Class

TreeListColumn Members

DevExpress.XtraTreeList.Columns Namespace