Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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