Skip to main content

PGridOptionsBehavior.PropertySort Property

Gets or sets the way properties are sorted in the Property Grid control.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v22.2.dll

NuGet Package: DevExpress.Win.VerticalGrid

Declaration

[DefaultValue(PropertySort.Alphabetical)]
[XtraSerializableProperty]
public virtual PropertySort PropertySort { get; set; }

Property Value

Type Default Description
PropertySort Alphabetical

A PropertySort value that specifies the way properties are sorted in the Property Grid control.

Available values:

Name Description
NoSort

Properties are displayed in the order specified by the underlying object.

Alphabetical

Properties are sorted in alphabetical order.

Property Paths

You can access this nested property as listed below:

Object Type Path to PropertySort
PropertyGridControl
.OptionsBehavior.PropertySort

Remarks

The PropertySort property, along with the BaseOptionsView.ShowRootCategories option, controls the visible order of properties in the Property Grid control.

See Also