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

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