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.v20.1.dll

Declaration

public FilteringUIContext Context { get; set; }
Public Property Context As FilteringUIContext

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