windowsforms-devexpress-dot-xtraeditors-dot-container-dot-componenteditorcontainer.md
Gets or sets the external editors repository.
Namespace : DevExpress.XtraEditors.Container
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(null)]
[DXCategory("Data")]
public PersistentRepository ExternalRepository { get; set; }
<DXCategory("Data")>
<DefaultValue(Nothing)>
Public Property ExternalRepository As PersistentRepository
| Type | Default | Description |
|---|---|---|
| PersistentRepository | null |
A PersistentRepository component holding a collection of repository items that can be used to create inplace editors.
|
Repository items are used to create in-place editors within container controls (XtraGrid, XtraTreeList, XtraBars, etc). To use a specific repository item within a container control it should be added to the control’s internal or external repository. Repository items added to a control’s internal repository cannot be used in other controls. If you want to create and customize repository items only once and be able to share them between several controls use an external repository. An external repository is represented by a PersistentRepository component.
You can work with an external repository as follows:
After an external repository has been assigned, the control/component allows you to bind its elements (columns, cells, etc) to the repository items stored within the repository specified.
See Also
ComponentEditorContainer Class