wpf-devexpress-dot-xpf-dot-charts-dot-constantline-af242d14.md
Gets or sets the constant line‘s position along an axis.
Namespace : DevExpress.Xpf.Charts
Assembly : DevExpress.Xpf.Charts.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
public object Value { get; set; }
Public Property Value As Object
| Type | Description |
|---|---|
| Object |
A Object value that specifies the constant line’s position.
|
For more information, refer to Constant Lines.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Value property.
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.
dashboard-constant-lines/CS/ConstantLineExtension.WPF/ConstantLinesConverter.cs#L49
if (measure != null)
line.Value = data.GetValue(measure).Value;
}
ConstantLine line = new ConstantLine();
line.Value = moduleData.Value;
Color constantLineColor = Color.FromArgb(255, 0, 128, 0);
Dim line As New ConstantLine()
line.Value = moduleData.Value
Dim constantLineColor As Color = Color.FromArgb(255, 0, 128, 0)
See Also