Skip to main content
A newer version of this page is available. .

RepositoryItemZoomTrackBar.Assign(RepositoryItem) Method

Copies the settings of the specified repository item.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public override void Assign(
    RepositoryItem item
)

Parameters

Name Type Description
item RepositoryItem

A RepositoryItem object or its descendant that represents the source of the operation.

Remarks

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

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