wpf-devexpress-dot-xpf-dot-propertygrid-dot-propertygridcontrol-715425d4.md
Gets or sets the property grid’s user filter criteria. This is a dependency property.
Namespace : DevExpress.Xpf.PropertyGrid
Assembly : DevExpress.Xpf.PropertyGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PropertyGrid
public CriteriaOperator UserFilterCriteria { get; set; }
Public Property UserFilterCriteria As CriteriaOperator
| Type | Description |
|---|---|
| CriteriaOperator |
The user filter criteria.
|
The UserFilterCriteria property allows you to obtain a filter expression created when a user types text in the Search Box. The PropertyGridControl combines PropertyGridControl.FilterCriteria and UserFilterCriteria expressions by the AND logical operator:
<dxprg:PropertyGridControl SelectedObject="{Binding Data}"
FilterCriteria="Contains ([Header], 'Name')">
<dxprg:PropertyDefinition Path="ID"/>
<dxprg:PropertyDefinition Type="sys:DateTime"/>
<dxprg:PropertyDefinition Type="sys:String"/>
</dxprg:PropertyGridControl>
Refer to the following help topic for more information: Criteria Language Syntax.
See Also