ConstantLineCollection.GetConstantLineByName(String) Method
In This Article
Gets a constant line within the collection by its name.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
public ConstantLine GetConstantLineByName(
string name
)
#Parameters
Name | Type | Description |
---|---|---|
name | String | A String which specifies the name of the constant line to find. |
#Returns
Type | Description |
---|---|
Constant |
A Constant |
#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