[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
 [Expand]What's Installed
 [Expand].NET Core 3 Support
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Collapse]Gauge Controls
   [Expand]Getting Started
    Value Indicators
   [Collapse]Visual Elements
    [Expand]Circular Gauge
    [Expand]Linear Gauge
    [Collapse]Digital Gauge
      Symbols Panel
      Matrix Cell
    [Expand]State Indicator
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)


Layer is a visual element that contains different objects (e.g. images) to define a visual presentation of a DigitalGaugeControl and its elements.

When a new layer is added to the Digital Gauge control, it is painted behind all other gauge elements. This is because the LayerOptions.ZIndex property is set to -100 by default. If you want to bring this layer to the front, set the ZIndex property to a greater value.

The images below show two layers that were added to the gauges of the SevenSegmentsView and MatrixView8x14 types. The first layer defines a gauge background, while the second layer is painted in the foreground.

The following table lists the main properties affecting element behavior and appearance.

Characteristics Members
Availability DigitalGaugeControl.Layers
Visibility LayerBase.Visible
Size SymbolViewBase.Width,SymbolViewBase.Height
Appearance DigitalGaugeControl.Model,DigitalGaugeLayer.Presentation,System.Windows.Controls.Control.Foreground,System.Windows.Controls.Control.Background
Behaviour GaugeLayerBase.Options

Is this topic helpful?​​​​​​​