Filters Property
- Namespace
TXTextControl.DocumentServer. Windows. Forms
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets the filter instructions which were created using the dialog or sets the filter instructions which are shown when the dialog is opened.
Syntax
public FilterInstruction[] Filters { get; set; }Public Property Filters As FilterInstruction()Examples
The following example uses FilterAndSortDialog.Filters to configure filters as part of the filter and sort dialog workflow. The change is then applied to the active document or user interface.
filterAndSortDialog.Filters = new TXTextControl.DocumentServer.DataShaping.FilterInstruction[] { new TXTextControl.DocumentServer.DataShaping.FilterInstruction("CustomerName", TXTextControl.DocumentServer.DataShaping.RelationalOperator.Equals) };
filterAndSortDialog.Update();filterAndSortDialog.Filters = New TXTextControl.DocumentServer.DataShaping.FilterInstruction() { New TXTextControl.DocumentServer.DataShaping.FilterInstruction("CustomerName", TXTextControl.DocumentServer.DataShaping.RelationalOperator.Equals) }
filterAndSortDialog.Update()