[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
  Prerequisites
 [Expand]What's Installed
 [Expand].NET Core 3 Support
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Collapse]Gauge Controls
   [Expand]Getting Started
    Scales
    Value Indicators
   [Collapse]Visual Elements
    [Expand]Circular Gauge
    [Expand]Linear Gauge
    [Collapse]Digital Gauge
      Layers
      Symbols Panel
      Symbol
      Segment
      Matrix Cell
    [Expand]State Indicator
    Themes
   [Expand]Examples
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [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
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Layers

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?​​​​​​​