A textbox meant to input queries used for filtering.
Namespace: Metrolib.Controls
Assembly: Metrolib (in Metrolib.dll)
public class FilterTextBox : System.Windows.Controls.Control
Inheritance Object -> DispatcherObject -> DependencyObject -> Visual -> UIElement -> FrameworkElement -> Control -> FilterTextBox
<Metrolib:FilterTextBox Watermark="Enter filter..." />
<Metrolib:FilterTextBox Watermark="Enter filter..." />
<Metrolib:FilterTextBox FilterText="[0-9]+" Watermark="Enter filter..." />
<Metrolib:FilterTextBox FilterText="[0-9]+" Watermark="Enter filter..." />
<Metrolib:FilterTextBox FilterText="[0-9]+" Watermark="Enter filter..." IsValid="False" />
<Metrolib:FilterTextBox FilterText="[0-9]+" Watermark="Enter filter..." IsEnabled="False" />
RemoveFilterTextButton: System.Windows.Controls.Button
The button that appears to remove entered text.
HasFilterText: System.Boolean
Whether or not any FilterText has been entered.
IsValid: System.Boolean
Whether or not the entered FilterText is valid.
Watermark: System.String
The watermark text that shall be displayed when the user hasn't entered any FilterText (yet).
FilterText: System.String
The filter text input by the user.
AcceptsTab: System.Boolean
Gets or sets a value indicating whether pressing the TAB key in a multiline text box control types a TAB character in the control instead of moving the focus to the next control in the tab order.
AcceptsReturn: System.Boolean
Gets or sets a value indicating whether pressing ENTER in a multiline TextBox control creates a new line of text in the control or activates the default button for the form.