ColumnBase.ShowSortIndicator Property
Gets or sets whether to display the sort indicator within an individual column header. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v26.1.Core.dll
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| Nullable<Boolean> | null |
|
Remarks
The ShowSortIndicator property has higher priority than the DataViewBase.ShowSortIndicator property. Set the ShowSortIndicator property to null to apply the view-level visibility flag.
Example: Hide the Sort Indicator for a Specific Column
The following example displays the sort indicator within the Order ID column header 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="False"/>
</dxg:GridControl.View>
<dxg:GridControl.Columns>
<dxg:GridColumn FieldName="OrderId" Header="Order ID"
ShowSortIndicator="True"/>
<dxg:GridColumn FieldName="ShipDate" Header="Ship Date"/>
<dxg:GridColumn FieldName="CustomerName" Header="Customer"/>
</dxg:GridControl.Columns>
</dxg:GridControl>
</dx:ThemedWindow>
See Also