ItemFilters Property

Returns/sets the filter condition(s) that the XamPropertyGrid uses when determining which PropertyGridItems to display. The filters defined with this property are combined (using an 'Add' operator) with the 'Contains' filter created from the FilterText property (if any). The FilterText property is bound (by default) to the textbox in the Infragistics.Controls.Editors.Primitives.PropertyGridFilterAreaControl displayed at the top of the XamPropertyGrid.
Public Property ItemFilters As ICondition
public ICondition ItemFilters {get; set;}
Note: Although it is possible to use any class that derives from Infragistics.Windows.Controls.ICondition (e.g., the conditions supplied in the Infragistics base class library such as Infragistics.Windows.Controls.ComparisonCondition, Infragistics.Windows.Controls.ComplementCondition and Infragistics.Windows.Controls.ConditionGroup) to set this property, the corresponding custom Infragistics.Windows.Controls.IConditions supplied with the XamPropertyGrid provide more flexibility. Specifically, the PropertyGridComparisonCondition, PropertyGridComplementCondition and PropertyGridConditionGroup conditions each expose an OperandSource property of type PropertyGridFilterOperandSource which lets you specify the PropertyGridPropertyItem value that should be used when evaluating whether a particular item satisfies the filter criteria. If you do choose to use the standard Infragistics.Windows.Controls.ComparisonCondition, Infragistics.Windows.Controls.ComplementCondition and Infragistics.Windows.Controls.ConditionGroup conditions or even a custom condition that implements Infragistics.Windows.Controls.ICondition, then PropertyGridFilterOperandSource.PropertyName is used by the filter evaluation logic to determine whether a particular item matches the specified condition(s).

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also