Back to Devexpress

CustomAxisLabelCollection.GetAxisLabelByName(String) Method

corelibraries-devexpress-dot-xtracharts-dot-customaxislabelcollection-dot-getaxislabelbyname-x28-system-dot-string-x29.md

latest1.8 KB
Original Source

CustomAxisLabelCollection.GetAxisLabelByName(String) Method

Gets a custom axis label within the collection by its name.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public CustomAxisLabel GetAxisLabelByName(
    string name
)
vb
Public Function GetAxisLabelByName(
    name As String
) As CustomAxisLabel

Parameters

NameTypeDescription
nameString

A String which specifies the name of the axis label to find.

|

Returns

TypeDescription
CustomAxisLabel

A CustomAxisLabel object that represents the custom axis label with the specified name.

|

Remarks

Note that this method finds only the first occurrence of a custom axis label with the specified name. If no element with the specified name is found, then this method returns null ( Nothing in Visual Basic).

See Also

CustomAxisLabelCollection Class

CustomAxisLabelCollection Members

DevExpress.XtraCharts Namespace