Skip to main content

RadioGroupItemCollection.Assign(RadioGroupItemCollection) Method

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

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual void Assign(
    RadioGroupItemCollection collection
)

Parameters

Name Type Description
collection RadioGroupItemCollection

A RadioGroupItemCollection 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 RadioGroupItemCollection object to another. The parameter is the source object. The caller is the destination object.

See Also