TTMSFNCFilterViewExpressions Class
Stores filter expressions and synchronizes them with generated filter structure items.
API unit family: TMSFNCFilterView
Inherits from: TTMSFNCOwnedCollection
Syntax
TTMSFNCFilterViewExpressions = class(TTMSFNCOwnedCollection)
Properties
| Name |
Description |
| DefaultFilterProperties |
Gets or sets default field and operator settings used for generated expressions. |
| FilterItem |
Gets the filter structure item currently associated with the collection. |
| Items |
Gets or sets an expression by index. |
Methods
| Name |
Description |
| Add |
Adds a new expression item to the collection. |
| AddFilterItem |
Adds or updates a filter item for the expression that matches the specified property value text. |
| AddOrUpdateExpression |
Adds or updates an expression with a typed filter value and explicit operator. |
| BeginUpdate |
Begins a batched update of expression items and generated filter items. |
| EndUpdate |
Ends a batched update and applies pending expression changes. |
| GetExpressionByPropertyValue |
Returns the expression that matches a property value. |
| Insert |
Inserts a new expression item at the specified index. |
| RemoveFilterItem |
Removes the filter item currently associated with the collection. |
| UpdateFilterItem |
Updates the current filter item using the expression that matches the specified property value. |
Events
| Name |
Description |
| OnAddFilterItem |
Occurs before a generated filter item is added. |
| OnChanged |
Occurs when the collection or one of its expressions changes. |
| OnExpressionNotFound |
Occurs when a property value does not match an existing expression. |
| OnRemoveFilterItem |
Occurs after the current generated filter item is removed. |
| OnSetFilterItem |
Occurs before resolved expression parameters are applied to a filter item. |
Used by