Back to Devexpress

ConstantLineCollection.GetConstantLineByName(String) Method

corelibraries-devexpress-dot-xtracharts-dot-constantlinecollection-dot-getconstantlinebyname-x28-system-dot-string-x29.md

latest1.8 KB
Original Source

ConstantLineCollection.GetConstantLineByName(String) Method

Gets a constant line within the collection by its name.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public ConstantLine GetConstantLineByName(
    string name
)
vb
Public Function GetConstantLineByName(
    name As String
) As ConstantLine

Parameters

NameTypeDescription
nameString

A String which specifies the name of the constant line to find.

|

Returns

TypeDescription
ConstantLine

A ConstantLine object that represents the constant line with the specified name.

|

Remarks

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

See Also

ConstantLineCollection Class

ConstantLineCollection Members

DevExpress.XtraCharts Namespace