[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
    [Collapse]Linear Gauge
      Linear Scale
      Level Bar
      Marker
      Range Bar
      Range
      Tickmarks
      Line
      Labels
      Custom Labels
      Layers
      Custom Elements
    [Expand]Digital Gauge
    [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)

Custom Labels

Custom Labels allow you to display a custom text and place it in any position in the Linear gauge.

Custom Labels are represented by an instance of the ScaleCustomLabel class, which should be added to the ScaleCustomLabelCollection returned by the Scale.CustomLabels property.

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

Characteristics Members
Data ScaleCustomElement.Content
Visibility ScaleCustomElement.Visible
Presentation ScaleCustomElement.ContentTemplate
Position ScaleCustomLabel.Value,ScaleCustomLabel.Offset
Layout System.Windows.FrameworkElement.Width,System.Windows.FrameworkElement.Height,System.Windows.FrameworkElement.Margin,System.Windows.Controls.Control.Padding

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