Skip to main content
A newer version of this page is available. .

CheckedListBoxEditStyleSettings.ShowSelectAllItem Property

Gets or sets whether the checked list box displays the Select All item. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v19.2.dll

Declaration

public bool ShowSelectAllItem { get; set; }

Property Value

Type Description
Boolean

true, to show the Select All item; otherwise, false.

Remarks

ListBoxEdit can display the Select All item above its other items. When an end-user clicks the Select All item, all the editor’s items are selected.

Use the ShowSelectAllItem property to control the availability of the Select All item in the list box. The SelectAllItemText property allows you to change the default Select All item’s text.

The image below illustrates the Select All item with the default text.

The code sample below demonstrates how to enable the Select All item.

<dxe:ListBoxEdit>
    <dxe:ListBoxEdit.StyleSettings>
        <dxe:CheckedListBoxEditStyleSettings ShowSelectAllItem="True"/>
    </dxe:ListBoxEdit.StyleSettings>
    <dxe:ListBoxEditItem Content="Item 1"/>
    <dxe:ListBoxEditItem Content="Item 2"/>
    <dxe:ListBoxEditItem Content="Item 3"/>
</dxe:ListBoxEdit>
See Also