Gets or sets the filter expression, which is embedded into the data query that is used to request data and filter the items that are displayed in a listbox.
A FilterExpressionBase representing the filter expression, which is embedded into the data query that is used to request data and filter the items that are displayed in a listbox.
Remarks
The FilterExpression property is explicitly linked to the search text box displayed in a listbox. When a filter expression is provided through the FilterExpression property, it will be visually represented in the search text box, if one is present. If the values in the search text box are modified, the value of the FilterExpression property will also be modified to reflect the changes. Complex filter expressions, such as those that use inline logical filter expressions, cannot be represented in the search text box. In these cases, multiple number signs (####) will be displayed in the SearchTextBox.
sldgListBoxControl.FilterExpression = new FilterExpression( "ShipCity", FilterOperator.LessThan, "N" );
Requirements
Target Platforms: Windows 11, Windows 10, Windows 7, 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