Skip to main content
All docs
V25.1
  • RepositoryItemCheckedComboBoxEdit.SortOrder Property

    Gets or sets the sort order.

    Namespace: DevExpress.XtraEditors.Repository

    Assembly: DevExpress.XtraEditors.v25.1.dll

    NuGet Package: DevExpress.Win.Navigation

    Declaration

    [DefaultValue(SortOrder.None)]
    [DXCategory("Behavior")]
    public SortOrder SortOrder { get; set; }

    Property Value

    Type Default Description
    SortOrder None

    A SortOrder enumeration member that specifies the order.

    Remarks

    The Checked ComboBox Editor allows you to sort its items. Set the SortOrder property to SortOrder.Ascending to sort items in ascending order. Set this property to SortOrder.Descending to to sort items in descending order.

    Handle the CustomSort event to sort items in custom order.

    Note

    1. Setting the SortOrder property has no effect in bound mode.
    2. The SortOrder property is ignored when you handle the CustomSort event.
    See Also