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

RepositoryItem Class

Serves as the base for all repository items.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

public class RepositoryItem :
    Component,
    ISupportInitialize,
    ICustomTypeDescriptor,
    IImageCollectionHelper,
    ISupportDXSkinColors

Remarks

The RepositoryItem class is the base class for repository items corresponding to editors which can be used for inplace editing. Properties, methods and events provided by this class are common to all such editors.

A RepositoryItem object is returned by the BaseEdit.Properties property. If developing a custom editor that doesn’t use any particular editor’s functionality, you will have to create a BaseEdit descendant whose Properties property will return a RepositoryItem descendant. If developing a control that uses the functionality of an existing editor, you should derive the repository item from the editor’s corresponding repository item class. For instance, you will need to create a RepositoryItemComboBox descendant to represent the Properties property of a ComboBoxEdit descendant.

For general information on repository items, refer to the Repositories and Repository Items help topic.

The following code snippets (auto-collected from DevExpress Examples) contain references to the RepositoryItem class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also