RepositoryItem.Assign(RepositoryItem) Method

Copies settings from the repository item specified as a parameter.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v21.1.dll


public virtual void Assign(
    RepositoryItem item


Name Type Description
item RepositoryItem

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


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