CustomAxisLabelCollection.GetAxisLabelByName(String) Method

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll


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


Name Type Description
name String

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


Type Description

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


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