Skip to main content

RibbonControl.ExternalRepository Property

Gets or sets the external editors repository.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue(null)]
[DXCategory("Data")]
public PersistentRepository ExternalRepository { get; set; }

Property Value

Type Default Description
PersistentRepository null

A PersistentRepository component that holds a collection of the repository items that can be used to create editors.

Remarks

Repository items are used to create in-place editors within container controls. To use a specific repository item within a Ribbon 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:

  • place a PersistentRepository component onto the form;
  • add repository items to the created repository and customize their settings as required;
  • assign the repository to the Ribbon Control’s ExternalRepository property.

For more information, see Editors and Simple Controls.

See Also