wpf-devexpress-dot-xpf-dot-charts-dot-titlebase.md
Gets or sets the title’s content. This is a dependency property.
Namespace : DevExpress.Xpf.Charts
Assembly : DevExpress.Xpf.Charts.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
public object Content { get; set; }
Public Property Content As Object
| Type | Description |
|---|---|
| Object |
An Object value that represents the title’s content.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the Content 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.
wpf-bind-a-range-control-to-a-chart-control/CS/GoldPrices/MainWindow.xaml#L32
<dxc:ChartControl.Titles>
<dxc:Title Content="Gold Price History in 2010"
HorizontalAlignment="Center"/>
dashboard-constant-lines/CS/ConstantLineExtension.WPF/ConstantLinesConverter.cs#L40
line.Title = new ConstantLineTitle();
line.Title.Content = customConstantLine.LabelText;
line.LineStyle = new LineStyle();
line.Title = new ConstantLineTitle();
line.Title.Content = "Value: " + moduleData.Value;
line.Title.Foreground = new SolidColorBrush(constantLineColor);
line.Title = New ConstantLineTitle()
line.Title.Content = "Value: " & moduleData.Value
line.Title.Foreground = New SolidColorBrush(constantLineColor)
See Also