Skip to main content

RepositoryItem.Assign(RepositoryItem) Method

Copies settings from the repository item specified as a parameter.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

public virtual void Assign(
    RepositoryItem item
)

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Assign(RepositoryItem) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also