wpf-devexpress-dot-xpf-dot-gauges-dot-digitalgaugecontrol-01107b14.md
Gets or sets a text that is displayed on the symbols panel of the digital gauge control.
Namespace : DevExpress.Xpf.Gauges
Assembly : DevExpress.Xpf.Gauges.v25.2.dll
NuGet Package : DevExpress.Wpf.Gauges
public string Text { get; set; }
Public Property Text As String
| Type | Description |
|---|---|
| String |
A String object that is the text displayed on the digital gauge control.
|
The following example demonstrates how to use the DigitalGaugeControl.Text property.
<dxga:DigitalGaugeControl Name="digitalGaugeControl1" Text="Hello!">
<dxga:DigitalGaugeControl.SymbolView>
<dxga:MatrixView5x8 />
</dxga:DigitalGaugeControl.SymbolView>
</dxga:DigitalGaugeControl>
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Text 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-gauges-set-width-and-height-of-symbols-in-digital-gauge-control/CS/MainWindow.xaml#L7
<Grid>
<dxga:DigitalGaugeControl Text="Hello!!!"
VerticalAlignment="Center">
See Also