Back to Devexpress

SearchLookUpEditStyleSettings Class

wpf-devexpress-dot-xpf-dot-grid-dot-lookup-058cad63.md

latest4.3 KB
Original Source

SearchLookUpEditStyleSettings Class

Defines the appearance and behavior of the SearchLookUpEdit.

Namespace : DevExpress.Xpf.Grid.LookUp

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public class SearchLookUpEditStyleSettings :
    LookUpEditStyleSettings
vb
Public Class SearchLookUpEditStyleSettings
    Inherits LookUpEditStyleSettings

Remarks

The SearchLookUpEditStyleSettings object defines the Search lookup editor operation mode. In this mode, the editor displays the embedded GridControl’s search panel. This panel allows users to find information within the data grid.

The following code sample demonstrates how to switch the lookup editor operation mode to SearchLookUpEdit:

xaml
<dxg:LookUpEdit ItemsSource="{Binding Data}">
    <dxg:LookUpEdit.StyleSettings>
        <dxg:SearchLookUpEditStyleSettings 
                                           HighlightedTextBackground="Yellow" 
                                           HighlightedTextForeground="Black"/>
    </dxg:LookUpEdit.StyleSettings>
</dxg:LookUpEdit>

Tip

For the complete list of the LookUpEdit control operation modes, see LookUpEdit operation modes.

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

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>

Inheritance

Show 15 items

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement BaseEditStyleSettings DevExpress.Xpf.Editors.TextEditStyleSettings DevExpress.Xpf.Editors.ButtonEditStyleSettings DevExpress.Xpf.Editors.PopupBaseEditStyleSettings DevExpress.Xpf.Editors.BaseItemsControlStyleSettings<LookUpEditBase> DevExpress.Xpf.Editors.BaseLookUpStyleSettings LookUpEditStyleSettings SearchLookUpEditStyleSettings SearchTokenLookUpEditStyleSettings

See Also

SearchLookUpEditStyleSettings Members

Editor Operation Modes

DevExpress.Xpf.Grid.LookUp Namespace