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.v24.2.Core.dll

Declaration

public void Assign(
    LabelCollection labels
)

Parameters

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.

Remarks

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

See Also