RepositoryItem.Assign(RepositoryItem) Method

Copies settings from the repository item specified as a parameter.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public virtual void Assign(
    RepositoryItem item
)
Public Overridable Sub Assign(
    item As RepositoryItem
)

Parameters

Name Type Description
item RepositoryItem

A RepositoryItem object whose settings are to be copied to the current object.

Remarks

The Assign method is useful if you need to create editors with similar settings. You can customize a single editor, copy its settings to others and then customize the properties whose values should differ.

See Also