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

RepositoryItemRadioGroup.Assign(RepositoryItem) Method

Copies properties of the source repository item to the current object.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

public override void Assign(
    RepositoryItem item
)

Parameters

Name Type Description
item RepositoryItem

A RepositoryItemRadioGroup object whose settings are assigned to the current object.

Remarks

The Assign method is useful if you need to have the same or slightly different options in several repository items. It enables you to set the options once and then copy them to a number of repository items.

Generally, you will use the Assign method to copy settings from one RepositoryItemRadioGroup object to another. The parameter is the source object. The caller is the destination object.

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