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

ColumnBase.HeaderStyle Property

Gets or sets the style applied to the column header. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Grid

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

Declaration

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

Property Value

Type Description
Windows.UI.Xaml.Style

A object that contains style settings.

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 DataControlBase.ColumnHeaderStyle property to set the header style for all columns.

See Also