Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseGaugeWin.AddLabel() Method

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

Namespace: DevExpress.XtraGauges.Win.Base

Assembly: DevExpress.XtraGauges.v24.2.Win.dll

NuGet Package: DevExpress.Win.Gauges

#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