DataViewBase.ShowSortIndicator Property
Gets or sets whether to display the sort indicator within all column headers. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v26.1.Core.dll
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | True |
|
Remarks
The ShowSortIndicator property has lower priority than the ColumnBase.ShowSortIndicator property.
Example: Display the Sort Indicator Within All Columns
The following example displays the sort indicator within all column headers in the TableView:

<dx:ThemedWindow xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid">
<dxg:GridControl ItemsSource="{Binding Orders}">
<dxg:GridControl.View>
<dxg:TableView AllowSorting="True"
ShowSortIndicator="True"/>
</dxg:GridControl.View>
<dxg:GridControl.Columns>
<dxg:GridColumn FieldName="ShipDate" Header="Ship Date"/>
<dxg:GridColumn FieldName="CustomerName" Header="Customer"/>
</dxg:GridControl.Columns>
</dxg:GridControl>
</dx:ThemedWindow>
See Also