Skip to main content
A newer version of this page is available. .

TcxCustomEdit.RepositoryItem Property

Specifies an object controlling values of editor properties.

Declaration

property RepositoryItem: TcxEditRepositoryItem read; write;

Property Value

Type
TcxEditRepositoryItem

Remarks

A repository item is a standalone object defining specific editor properties. When a repository item is assigned to the RepositoryItem attribute, all its properties (TcxEditRepositoryItem.Properties) are assigned to editor properties (TcxCustomEdit.Properties).

A repository item can be assigned to several editors. You can define properties via a repository item and then assign it to several editors thus providing centralized behavior of editors.

Changing the properties of a repository item results in changing properties of all linked editors. Similarly, if you change the properties of an editor assigned to a repository item, the changes are automatically applied to the properties of the repository item itself and thus to any other editors linked to it.

See Also