Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 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

RepositoryItem Class

Serves as the base for all repository items.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.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