RepositoryItem.Name Property

Gets or sets the repository item name.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[Browsable(false)]
[DefaultValue("")]
public virtual string Name { get; set; }
<Browsable(False)>
<DefaultValue("")>
Public Overridable Property Name As String

Property Value

Type Default Description
String

String.Empty

A string value representing the repository item name.

Remarks

Since the RepositoryItem class is a Component descendant, you can access repository items in code directly by their names. Thus, you can specify an appropriate name at design time to use it when accessing editor settings via code. This eliminates the need to use EditorName.Properties constructs when accessing editor settings. This is also useful when using container controls since they operate against repository items rather than editor objects.

Note that changing the Name property at runtime has no effect.

See Also