[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]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
    Theming
   [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)

Segment

A Segment is a visual element into which every Symbol can be divided.

The segments number depends on what the Symbols Panel type is used. The following images show the SevenSegmentsView and FourteenSegmentsView types.

The SevenSegmentsView type has 7 main segments and 4 additional segments that can be used to display a symbol.

The FourteenSegmentsView type contains 14 main segments and 4 additional segments.

Themain segments are used to display both a digit and character in the symbols panel.

An additional segment displays either a dot, which divides the integral and fractional parts of a decimal number or another subsidiary symbol.

It is possible to display both main and additional segments in one symbol. For this, use the SymbolSegmentsMapping.SymbolType property.

By default, segments display a text that is set by the DigitalGaugeControl.Text property. To show a custom text, every segment should be specified by the SymbolSegmentsMapping.SegmentsStates property (either to 0 - to disable a segment or to 1 to enable a segment).

The table below lists the main properties that affect element behavior and appearance.

Characteristics Members
Visibility SymbolSegmentsMapping.SegmentsStates
Data DigitalGaugeControl.Text,DigitalGaugeControl.SymbolCount
Interactivity SymbolViewBase.Animation,GaugeControlBase.EnableAnimation
Appearance SymbolViewBase.CustomSymbolMapping,SymbolSegmentsMapping.Symbol,SymbolSegmentsMapping.SymbolType,SevenSegmentsView.Presentation,FourteenSegmentsView.Presentation
Size SymbolViewBase.Width,SymbolViewBase.Height
Layout SymbolOptions.SkewAngleX,SymbolOptions.SkewAngleY,SymbolOptions.Margin,DigitalGaugeControl.TextDirection

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