Bar

BarManager.GetNewBarName() Method

Returns a unique name for a bar which is about to be created.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public string GetNewBarName()
Public Function GetNewBarName As String

Returns

Type Description
String

A string specifying the name for a new bar.

Remarks

When a new bar is created, you can specify its name via a constructor parameter. If you omit the name or set the BarName parameter to null or an empty string, the bar will be given the default name returned by the GetNewBarName property.

Default names are constructed in the following form: "Custom NN", where NN is an ordinal number.

See Also