Back to Devexpress

LookUpEditStyleSettings.SelectionMode Property

wpf-devexpress-dot-xpf-dot-grid-dot-lookup-dot-lookupeditstylesettings-f23045e4.md

latest2.5 KB
Original Source

LookUpEditStyleSettings.SelectionMode Property

Gets or sets the selection behavior for the LookUpEdit. This is a dependency property.

Namespace : DevExpress.Xpf.Grid.LookUp

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public SelectionMode SelectionMode { get; set; }
vb
Public Property SelectionMode As SelectionMode

Property Value

TypeDescription
SelectionMode

A SelectionMode enumeration value.

|

Remarks

The LookUpEdit control supports only two modes: Simple and Extended. Setting the SelectionMode property to SelectionMode.Multiple enables the Extended mode behavior.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectionMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-pivot-grid-implement-a-custom-filter-popup/CS/DXPivotGrid_CustomFilterPopup/MainWindow.xaml#L28

xml
<local:PivotGridCustomFilter.StyleSettings>
    <dxg:SearchLookUpEditStyleSettings SelectionMode="Multiple" />
</local:PivotGridCustomFilter.StyleSettings>

See Also

LookUpEditStyleSettings Class

LookUpEditStyleSettings Members

DevExpress.Xpf.Grid.LookUp Namespace