BaseGaugeWin.AddLabel() Method

Creates a new label and adds it to the BaseGaugeWin.Labels collection.

Namespace: DevExpress.XtraGauges.Win.Base

Assembly: DevExpress.XtraGauges.v20.1.Win.dll

Declaration

public LabelComponent AddLabel()
Public Function AddLabel As LabelComponent

Returns

Type Description
LabelComponent

A LabelComponent object that represents the created label.

Remarks

The AddLabel method creates a new label, generates a unique name for it and then sets its properties as follows:

The created label is added to the BaseGaugeWin.Labels collection.

See Also