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

CheckedComboBoxStyleSettings.SelectAllItemText Property

Gets or sets the text displayed within the Select All item. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public string SelectAllItemText { get; set; }

#Property Value

Type Description
String

The Select All item text.

#Remarks

ComboBoxEdit 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 combo box dropdown list. 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 and change its default text.

 <dxe:ComboBoxEdit>
    <dxe:ComboBoxEdit.StyleSettings>
        <dxe:CheckedComboBoxStyleSettings ShowSelectAllItem="True" SelectAllItemText="(All)"/>
    </dxe:ComboBoxEdit.StyleSettings>
    <dxe:ComboBoxEditItem Content="Item 1"/>
    <dxe:ComboBoxEditItem Content="Item 2"/>
    <dxe:ComboBoxEditItem Content="Item 3"/>
</dxe:ComboBoxEdit>
See Also