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.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
public IComparer HiddenItemsSortComparer { get; set; }

Property Value

Type Description
IComparer

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

Remarks

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