A newer version of this page is available. Switch to the current version.

RepositoryItemSpinEdit.Assign(RepositoryItem) Method

Copies settings of the specified repository item to the current one.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll


public override void Assign(
    RepositoryItem item


Name Type Description
item RepositoryItem

A RepositoryItem object representing the source of the operation.


The Assign method is used to copy public properties and event handlers from the source repository item to the current RepositoryItemSpinEdit object. This makes it possible to have several spin editors with the same behavior and look & feel. Note: the item parameter can represent any RepositoryItem-derived object. The Assign method copies properties common to the source and the current repository item.

See Also