Xceed Toolkit Plus for WPF v4.6 Documentation
DataSourceFilterExpression Property


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.Controls Namespace > FilterControl Class : DataSourceFilterExpression Property
Gets or sets the filter expression that will be applied to the data source.
Syntax
'Declaration
 
Public Property DataSourceFilterExpression As FilterExpressionBase
'Usage
 
Dim instance As FilterControl

Dim value As FilterExpressionBase

 

instance.DataSourceFilterExpression = value

 

value = instance.DataSourceFilterExpression
public FilterExpressionBase DataSourceFilterExpression {get; set;}

Property Value

A FilterExpressionBase representing the FilterControl's data source filter expression.
Remarks

The FilterControl acts as a delay-providing link between the SearchTextBox and the ListBox. It contains an ApplyFilterInterval property, which represents the amount of time the FilterControl waits after a change to UIFilterExpression (bound to the SearchTextBox's FilterExpression with two-way binding) before the filter is used to update DataSourceFilterExpression (bound to the FilterExpression property of the ListBox with two-way binding). This prevents DataSourceFilterExpression from being updated after each keypress: instead, the property is updated only after 700 milliseconds have elapsed, by default.

The DataSourceFilterExpression is in effect the "output" of the FilterControl and is updated using UIFilterExpression after ApplyFilterInterval.

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

See Also

Reference

FilterControl Class
FilterControl Members