Back to Devexpress

ConstantLine.Title Property

wpf-devexpress-dot-xpf-dot-charts-dot-constantline-288794d3.md

latest2.9 KB
Original Source

ConstantLine.Title Property

Gets or sets the constant line title.

Namespace : DevExpress.Xpf.Charts

Assembly : DevExpress.Xpf.Charts.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public ConstantLineTitle Title { get; set; }
vb
Public Property Title As ConstantLineTitle

Property Value

TypeDescription
ConstantLineTitle

A ConstantLineTitle object.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the Title 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#L39

csharp
customConstantLine.Color.B));
line.Title = new ConstantLineTitle();
line.Title.Content = customConstantLine.LabelText;

wpf-dashboard-custom-properties/CS/Wpf-Dashboard-Custom-Properties/Modules/ChartItemModule/ChartOptions/ConstantLine.cs#L54

csharp
line.LineStyle.DashStyle = DashStyles.Dash;
line.Title = new ConstantLineTitle();
line.Title.Content = "Value: " + moduleData.Value;

wpf-dashboard-custom-properties/VB/Wpf-Dashboard-Custom-Properties/Modules/ChartItemModule/ChartOptions/ConstantLine.vb#L76

vb
line.LineStyle.DashStyle = DashStyles.Dash
line.Title = New ConstantLineTitle()
line.Title.Content = "Value: " & moduleData.Value

See Also

ConstantLine Class

ConstantLine Members

DevExpress.Xpf.Charts Namespace