ConstantLineCollection.GetConstantLineByName(String) Method
Gets a constant line within the collection by its name.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v20.2.dll
NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.Charts
Declaration
Parameters
Name | Type | Description |
---|---|---|
name | String | A String which specifies the name of the constant line to find. |
Returns
Type | Description |
---|---|
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).
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetConstantLineByName(String) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.