LabelCollection.Assign(LabelCollection) Method

Copies all the elements from the LabelCollection object passed as the parameter.

Namespace: DevExpress.XtraGauges.Core.Model

Assembly: DevExpress.XtraGauges.v21.1.Core.dll


public void Assign(
    LabelCollection labels


Name Type Description
labels LabelCollection

A LabelCollection object whose elements are copied to the current object. If null (Nothing in Visual Basic), then a ArgumentNullException is thrown.


The Assign method clears the LabelCollection collection and copies all the elements from the specified LabelCollection object.

See Also