Back to Devexpress

LayoutControl.HiddenItemsSortComparer Property

windowsforms-devexpress-dot-xtralayout-dot-layoutcontrol-8e4ea8bf.md

latest2.8 KB
Original Source

LayoutControl.HiddenItemsSortComparer Property

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

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public IComparer HiddenItemsSortComparer { get; set; }
vb
<Browsable(False)>
Public Property HiddenItemsSortComparer As IComparer

Property Value

TypeDescription
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

HiddenItems

LayoutControl Class

LayoutControl Members

DevExpress.XtraLayout Namespace