Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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