Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxFilterItem.PropertiesClass Property

Specifies the class of the editor used to edit a value the item data is compared to.

#Declaration

Delphi
property PropertiesClass: TcxCustomEditPropertiesClass read; write;

#Property Value

Type
TcxCustomEditPropertiesClass

#Remarks

Use the PropertiesClass property to assign a particular editor to edit a value with which to compare. To assign an editor, set the PropertiesClass to a TcxCustomEditProperties class descendant, such as TcxComboBoxProperties.

Once PropertiesClass is set, the Properties member provides access to available editor settings.

The following code shows how to specify the calculator editor to edit data of the first item. The QuickClose property is set to True to enable closing the calculator dropdown window when a user presses the ‘=’ keyboard key.

Delphi
cxDBFilterControl1.Items[0].PropertiesClass := TcxCalcEditProperties;
  TcxCalcEditProperties(cxDBFilterControl1.Items[0].Properties).QuickClose := True;

The RepositoryItem property also allows you to assign an editor for the item. If an editor is assigned via RepositoryItem, then PropertiesClass and Properties are ignored.

See the GetProperties method to obtain a reference to edit properties specified by the RepositoryItem or PropertiesClass attribute. If neither of them is set, the method retrieves properties from the default editor applied for the item.

See Also