Skip to main content

PropertyGridControl.UserFilterCriteria Property

Gets or sets the property grid’s user filter criteria. This is a dependency property.

Namespace: DevExpress.Xpf.PropertyGrid

Assembly: DevExpress.Xpf.PropertyGrid.v24.1.dll

NuGet Package: DevExpress.Wpf.PropertyGrid

Declaration

public CriteriaOperator UserFilterCriteria { get; set; }

Property Value

Type Description
CriteriaOperator

The user filter criteria.

Remarks

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:

Property Grid - User Filter

<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