FilterEditorControl.SortFilterColumns Property

Gets or sets whether or not the FilterEditorControl should sort its source control's columns alphabetically in its menus.

Namespace: DevExpress.DataAccess.UI

Assembly: DevExpress.DataAccess.v20.2.UI.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(true)]
public bool SortFilterColumns { get; set; }
<DXCategory("Appearance")>
<DefaultValue(True)>
Public Property SortFilterColumns As Boolean

Property Value

Type Default Description
Boolean

true

true, if FilterEditorControl menus should display source control columns in an alphabetical order; otherwise, false.

Remarks

If the FilterEditorControl.FilterColumns collection is generated automatically from the source control, column order in this collection matches the source control columns' order. Disable the SortFilterColumns setting to show columns in this exact order when users select columns in FilterEditorControl menus. Otherwise, columns are sorted alphabetically (the default behavior).

See Also