Skip to main content

Grid Header

The grid header displays the view’s header.

grid-header

<dxg:GridControl.View>
    <dxg:TableView ...
                   HeaderHorizontalAlignment="Center">
        <dxg:TableView.Header>
            <StackPanel>
                <TextBlock Text="WPF Data Grid" FontSize="24"/>
                <TextBlock Text="Standard Table View" HorizontalAlignment="Center"/>
            </StackPanel>
        </dxg:TableView.Header>
    </dxg:TableView>
</dxg:GridControl.View>

The table below lists the main properties affecting element behavior and appearance.

Characteristics

Members

Value

DataViewBase.Header

Layout

DataViewBase.HeaderHorizontalAlignment

DataViewBase.HeaderPosition