Skip to main content

LabelCollection.Assign(LabelCollection) Method

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

Namespace: DevExpress.XtraGauges.Core.Model

Assembly: DevExpress.XtraGauges.v22.2.Core.dll

NuGet Package: DevExpress.Gauges.Core


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