Skip to main content

LayoutControl.HiddenItemsSortComparer Property

Allows you to specify a comparer object for sorting hidden items within the Customization Form.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public IComparer HiddenItemsSortComparer { get; set; }

Property Value

Type Description

An object implementing the IComparer interface, which is used to sort hidden items; null if no object has been assigned.


By default, layout items displayed within the Customization Form are sorted against captions in alphabetical order. To custom sort these layout items, implement a comparer (an object that supports the IComparer interface) and assign it to the HiddenItemsSortComparer property.

The order of fixed items (Empty Space Items, Labels, Separators and Splitters) cannot be changed using the HiddenItemsSortComparer. These items are always sorted in alphabetical order.

See Also