Back to Devexpress

cxRegisterEditPropertiesClass(TcxPropertyEditorClass,TcxCustomEditPropertiesClass) Method

vcl-cxoi-dot-cxregistereditpropertiesclass-x28-240334d0-x29.md

latest1.3 KB
Original Source

cxRegisterEditPropertiesClass(TcxPropertyEditorClass,TcxCustomEditPropertiesClass) Method

Creates the association between an editor and editor properties.

Declaration

delphi
procedure cxRegisterEditPropertiesClass(AEditorClass: TcxPropertyEditorClass; AEditPropertiesClass: TcxCustomEditPropertiesClass);

Parameters

NameType
AEditorClassTcxPropertyEditorClass
AEditPropertiesClassTcxCustomEditPropertiesClass

Remarks

This procedure registers the TcxPropertyEditor custom editor with the TcxCustomEditProperties editor properties class. The TcxCustomEditProperties encapsulates settings that control the specified editor behavior.

The AEditorClass parameter specifies the type of property editor.

The AEditPropertiesClass parameter specifies the type of editor properties.

The following example shows the using of the cxRegisterEditPropertiesClass procedure:

delphi
interface
uses cxOI, cxSpinEdit;
//...
initialization
cxRegisterEditPropertiesClass(TcxIntegerProperty, TcxSpinEditProperties);

See Also

cxOI Unit