The requested page is not available for the requested platform. You are viewing the content for Default platform.

DataControlBase.ColumnHeaderStyle Property

Gets or sets the column header's style. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v19.2.dll

Declaration

public Style ColumnHeaderStyle { get; set; }
Public Property ColumnHeaderStyle As Style

Property Value

Type Description
Style

A Style object that represents the column header's style.

Remarks

Target type: DevExpress.UI.Xaml.Grid.BaseColumnHeaderControl

See the example below.

        <Style x:Key="CustomHeaderStyle" TargetType="dxg:BaseColumnHeaderControl">
            <Setter Property="Background" Value="Red"/>
            <Setter Property="Foreground" Value="Yellow"/>
        </Style>

Use the ColumnBase.ColumnHeaderStyle property to set the header style for independent columns.

See Also