Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RepositoryItemTrackBar.Assign(RepositoryItem) Method

Copies the settings of the specified repository item.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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 RepositoryItemTrackBar 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.

See Also