Skip to main content
A newer version of this page is available. .

BaseGaugeWin.AddLabel() Method

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

Namespace: DevExpress.XtraGauges.Win.Base

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

Declaration

public LabelComponent AddLabel()

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