Skip to main content

FilterEditorControl.Context Property

Gets or sets the object the FilterEditorControl uses to interact with a data-bound control.

Namespace: DevExpress.Xpf.Core.FilteringUI

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public FilteringUIContext Context { get; set; }

Property Value

Type Description
FilteringUIContext

The object the FilterEditorControl uses to interact with a data-bound control.

Remarks

Specify the Context property to associate the FilterEditorControl with a data-bound control’s filtering context. The FilterEditorControl uses this context to retrieve values, filter criteria, formatting settings and other details from a data-bound control, and the context is configured with criteria from the FilterEditorControl in return.

<dxfui:FilterEditorControl x:Name="filterEditor" Context="{Binding Path=FilteringContext, ElementName=filterGrid}"/>
<!-- ... -->
<dxg:GridControl x:Name="filterGrid" ... />
See Also