DigitalGaugeControl.SymbolView Property
Provides access to the settings of the current symbol view of the DigitalGaugeControl.
Namespace: DevExpress.Xpf.Gauges
Assembly: DevExpress.Xpf.Gauges.v24.2.dll
NuGet Package: DevExpress.Wpf.Gauges
Declaration
Property Value
Type | Description |
---|---|
SymbolViewBase | A SymbolViewBase class descendant that is the current symbol view. |
Remarks
Use the SymbolView property to specify the current symbol view type and get access to symbol view settings.
Example
This example demonstrates how to create a DigitalGaugeControl instance and customize its settings.
<Window x:Class="Digital_Gauge.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dxga="http://schemas.devexpress.com/winfx/2008/xaml/gauges"
Title="MainWindow" Height="350" Width="525">
<Grid>
<dxga:DigitalGaugeControl Name="digitalGaugeControl1"
Text="Hello everyone!!!"
Height="150" Padding="7">
<!--region #Layers-->
<dxga:DigitalGaugeControl.Layers>
<dxga:DigitalGaugeLayer>
<dxga:DigitalGaugeLayer.Presentation>
<dxga:ClassicDigitalGaugeBackgroundLayerPresentation/>
</dxga:DigitalGaugeLayer.Presentation>
</dxga:DigitalGaugeLayer>
</dxga:DigitalGaugeControl.Layers>
<!--endregion #Layers-->
<!--region #Model-->
<dxga:DigitalGaugeControl.Model>
<dxga:DigitalFutureModel />
</dxga:DigitalGaugeControl.Model>
<!--endregion #Model-->
<dxga:DigitalGaugeControl.SymbolView>
<dxga:MatrixView8x14>
<!--region #MatrixOptions-->
<dxga:MatrixView8x14.Options>
<dxga:SymbolOptions SkewAngleX="5" SkewAngleY="5" />
</dxga:MatrixView8x14.Options>
<!--endregion #MatrixOptions-->
<!--region #MatrixAnimation-->
<dxga:MatrixView8x14.Animation>
<dxga:CreepingLineAnimation RefreshTime="00:00:00.2000000"
Repeat="True" />
</dxga:MatrixView8x14.Animation>
<!--endregion #MatrixAnimation-->
</dxga:MatrixView8x14>
</dxga:DigitalGaugeControl.SymbolView>
</dxga:DigitalGaugeControl>
</Grid>
</Window>
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the SymbolView 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.