Skip to main content

RepositoryItem Class

Serves as the base for all repository items.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public class RepositoryItem :
    ComponentBase,
    ISupportInitialize,
    ICustomTypeDescriptor,
    IImageCollectionHelper,
    ISupportDXSkinColors,
    IRepositoryItemFilterCapabilities,
    ISupportDXSkinColorsEx

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 Editors help topic.

See Also