Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[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
 [Expand]Controls and Libraries
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Charts.Designer
  [Expand]DevExpress.Mvvm.UI
  [Expand]DevExpress.Mvvm.UI.Interactivity
  [Expand]DevExpress.Mvvm.UI.ModuleInjection
  [Expand]DevExpress.Xpf.Accordion
  [Expand]DevExpress.Xpf.Bars
  [Expand]DevExpress.Xpf.Carousel
  [Expand]DevExpress.Xpf.Charts
  [Expand]DevExpress.Xpf.Charts.Localization
  [Expand]DevExpress.Xpf.Charts.RangeControlClient
  [Expand]DevExpress.Xpf.ChunkList
  [Expand]DevExpress.Xpf.Controls
  [Expand]DevExpress.Xpf.Core
  [Expand]DevExpress.Xpf.Core.ConditionalFormatting
  [Expand]DevExpress.Xpf.Core.DataSources
  [Expand]DevExpress.Xpf.Core.ServerMode
  [Expand]DevExpress.Xpf.Data
  [Expand]DevExpress.Xpf.DataAccess
  [Expand]DevExpress.Xpf.DataAccess.DataSourceWizard
  [Expand]DevExpress.Xpf.Diagram
  [Expand]DevExpress.Xpf.Docking
  [Expand]DevExpress.Xpf.Docking.Base
  [Expand]DevExpress.Xpf.DocumentViewer
  [Expand]DevExpress.Xpf.DXBinding
  [Expand]DevExpress.Xpf.Editors
  [Expand]DevExpress.Xpf.Editors.DateNavigator
  [Expand]DevExpress.Xpf.Editors.ExpressionEditor
  [Expand]DevExpress.Xpf.Editors.ExpressionEditor.Native
  [Expand]DevExpress.Xpf.Editors.Filtering
  [Expand]DevExpress.Xpf.Editors.Flyout
  [Expand]DevExpress.Xpf.Editors.Flyout.Native
  [Expand]DevExpress.Xpf.Editors.Helpers
  [Expand]DevExpress.Xpf.Editors.Popups
  [Expand]DevExpress.Xpf.Editors.RangeControl
  [Expand]DevExpress.Xpf.Editors.Settings
  [Expand]DevExpress.Xpf.Editors.Validation
  [Expand]DevExpress.Xpf.ExpressionEditor
  [Collapse]DevExpress.Xpf.Gauges
   [Expand]AnalogGaugeControl Class
   [Expand]AnimationBase Class
   [Expand]ArcScale Class
   [Expand]ArcScaleCollection Class
   [Expand]ArcScaleIndicator Class
   [Expand]ArcScaleIndicatorCollection<T> Class
   [Expand]ArcScaleLabelOptions Class
    ArcScaleLabelOrientation Enumeration
   [Expand]ArcScaleLayer Class
   [Expand]ArcScaleLayerCollection Class
   [Expand]ArcScaleLayerPresentation Class
    ArcScaleLayoutMode Enumeration
   [Expand]ArcScaleMarker Class
   [Expand]ArcScaleMarkerCollection Class
   [Expand]ArcScaleMarkerOptions Class
    ArcScaleMarkerOrientation Enumeration
   [Expand]ArcScaleMarkerPresentation Class
   [Expand]ArcScaleNeedle Class
   [Expand]ArcScaleNeedleCollection Class
   [Expand]ArcScaleNeedleOptions Class
   [Expand]ArcScaleNeedlePresentation Class
   [Expand]ArcScaleRange Class
   [Expand]ArcScaleRangeBar Class
   [Expand]ArcScaleRangeBarCollection Class
   [Expand]ArcScaleRangeBarOptions Class
   [Expand]ArcScaleRangeBarPresentation Class
   [Expand]ArcScaleRangeCollection Class
   [Expand]BlinkingAnimation Class
   [Expand]CircularGaugeControl Class
   [Expand]CircularGaugeHitInfo Class
   [Expand]CircularGaugeLayer Class
   [Expand]CircularGaugeLayerCollection Class
   [Expand]CircularGaugeLayerPresentation Class
   [Expand]CreepingLineAnimation Class
    CreepingLineAnimationCompletedEventHandler Delegate
    CreepingLineDirection Enumeration
   [Expand]DigitalGaugeControl Class
   [Expand]DigitalGaugeLayer Class
   [Expand]DigitalGaugeLayerCollection Class
   [Expand]DigitalGaugeLayerPresentation Class
   [Expand]DigitalGaugeModel Class
   [Expand]FourteenSegmentsModel Class
   [Expand]FourteenSegmentsPresentation Class
   [Expand]FourteenSegmentsView Class
   [Expand]GaugeControlBase Class
   [Expand]GaugeDependencyObject Class
   [Expand]GaugeDependencyObjectCollection<T> Class
   [Expand]GaugeDependencyObjectCollectionBase<T> Class
   [Expand]GaugeElement Class
   [Expand]GaugeElementCollection<T> Class
   [Expand]GaugeHitInfoBase Class
   [Expand]GaugeLayerBase Class
   [Expand]GaugeLayerCollection<T> Class
   [Expand]IndicatorAnimation Class
   [Collapse]IndicatorEnterEventArgs Class
     IndicatorEnterEventArgs Members
    IndicatorEnterEventHandler Delegate
   [Expand]IndicatorEnterLeaveEventArgs Class
   [Expand]IndicatorLeaveEventArgs Class
    IndicatorLeaveEventHandler Delegate
   [Expand]LayerBase Class
   [Expand]LayerCollection<T> Class
   [Expand]LayerOptions Class
   [Expand]LayerPresentation Class
   [Expand]LinearGaugeControl Class
   [Expand]LinearGaugeHitInfo Class
   [Expand]LinearGaugeLayer Class
   [Expand]LinearGaugeLayerCollection Class
   [Expand]LinearScale Class
   [Expand]LinearScaleCollection Class
   [Expand]LinearScaleIndicator Class
   [Expand]LinearScaleIndicatorCollection<T> Class
   [Expand]LinearScaleLabelOptions Class
    LinearScaleLabelOrientation Enumeration
   [Expand]LinearScaleLayer Class
   [Expand]LinearScaleLayerCollection Class
   [Expand]LinearScaleLayerPresentation Class
    LinearScaleLayoutMode Enumeration
   [Expand]LinearScaleLevelBar Class
   [Expand]LinearScaleLevelBarCollection Class
   [Expand]LinearScaleLevelBarOptions Class
   [Expand]LinearScaleLevelBarPresentation Class
   [Expand]LinearScaleMarker Class
   [Expand]LinearScaleMarkerCollection Class
   [Expand]LinearScaleMarkerOptions Class
    LinearScaleMarkerOrientation Enumeration
   [Expand]LinearScaleMarkerPresentation Class
   [Expand]LinearScaleRange Class
   [Expand]LinearScaleRangeBar Class
   [Expand]LinearScaleRangeBarCollection Class
   [Expand]LinearScaleRangeBarOptions Class
   [Expand]LinearScaleRangeCollection Class
   [Expand]MajorTickmarkOptions Class
   [Expand]MarkerOptionsBase Class
   [Expand]Matrix5x8Model Class
   [Expand]Matrix5x8Presentation Class
   [Expand]Matrix8x14Model Class
   [Expand]Matrix8x14Presentation Class
   [Expand]MatrixView Class
   [Expand]MatrixView5x8 Class
   [Expand]MatrixView8x14 Class
   [Expand]MinorTickmarkOptions Class
   [Expand]PredefinedDigitalGaugeLayerPresentation Class
   [Expand]PredefinedElementKind Class
   [Expand]PredefinedLinearScaleMarkerPresentation Class
   [Expand]PredefinedLinearScaleRangeBarPresentation Class
   [Expand]PresentationBase Class
   [Expand]RangeBarOptionsBase Class
   [Expand]RangeBase Class
   [Expand]RangeOptions Class
   [Expand]RangeValue Structure
    RangeValueType Enumeration
   [Expand]Scale Class
   [Expand]ScaleCollection<T> Class
   [Expand]ScaleCustomElement Class
   [Expand]ScaleCustomElementCollection Class
   [Expand]ScaleCustomLabel Class
   [Expand]ScaleCustomLabelCollection Class
   [Expand]ScaleLabelOptions Class
   [Expand]ScaleLayerBase Class
   [Expand]ScaleLineOptions Class
   [Expand]SegmentsView Class
   [Expand]SevenSegmentsModel Class
   [Expand]SevenSegmentsPresentation Class
   [Expand]SevenSegmentsView Class
   [Expand]SpindleCapOptions Class
   [Expand]SpindleCapPresentation Class
   [Expand]State Class
   [Expand]StateCollection Class
   [Expand]StateIndicatorControl Class
   [Expand]StateIndicatorModel Class
   [Expand]StateInfo Class
   [Expand]StatePresentation Class
   [Expand]StatesMask Structure
   [Expand]SymbolDictionary Class
   [Expand]SymbolLength Structure
    SymbolLengthType Enumeration
   [Expand]SymbolOptions Class
   [Expand]SymbolsAnimation Class
   [Expand]SymbolSegmentsMapping Class
    SymbolType Enumeration
   [Expand]SymbolViewBase Class
    TextDirection Enumeration
    TextHorizontalAlignment Enumeration
    TextVerticalAlignment Enumeration
   [Expand]TickmarkOptions Class
   [Expand]TickmarksPresentation Class
   [Expand]ValueChangedEventArgs Class
    ValueChangedEventHandler Delegate
   [Expand]ValueIndicatorBase Class
   [Expand]ValueIndicatorCollection<T> Class
   [Expand]ValueIndicatorPresentation Class
  [Expand]DevExpress.Xpf.Gauges.Localization
  [Expand]DevExpress.Xpf.Grid
  [Expand]DevExpress.Xpf.Grid.ConditionalFormatting
  [Expand]DevExpress.Xpf.Grid.LookUp
  [Expand]DevExpress.Xpf.Grid.TreeList
  [Expand]DevExpress.Xpf.Layout.Core
  [Expand]DevExpress.Xpf.LayoutControl
  [Expand]DevExpress.Xpf.Map
  [Expand]DevExpress.Xpf.NavBar
  [Expand]DevExpress.Xpf.Navigation
  [Expand]DevExpress.Xpf.PdfViewer
  [Expand]DevExpress.Xpf.PivotGrid
  [Expand]DevExpress.Xpf.PivotGrid.Printing
  [Expand]DevExpress.Xpf.Printing
  [Expand]DevExpress.Xpf.Printing.Parameters
  [Expand]DevExpress.Xpf.Printing.Parameters.Models
  [Expand]DevExpress.Xpf.Printing.PreviewControl
  [Expand]DevExpress.Xpf.Printing.PreviewControl.Bars
  [Expand]DevExpress.Xpf.Prism
  [Expand]DevExpress.Xpf.PropertyGrid
  [Expand]DevExpress.Xpf.Reports.UserDesigner
  [Expand]DevExpress.Xpf.Reports.UserDesigner.Extensions
  [Expand]DevExpress.Xpf.Reports.UserDesigner.Localization
  [Expand]DevExpress.Xpf.Reports.UserDesigner.ReportWizard
  [Expand]DevExpress.Xpf.Reports.UserDesigner.ReportWizard.Pages
  [Expand]DevExpress.Xpf.Ribbon
  [Expand]DevExpress.Xpf.RichEdit
  [Expand]DevExpress.Xpf.RichEdit.Menu
  [Expand]DevExpress.Xpf.Scheduler
  [Expand]DevExpress.Xpf.Scheduler.Drawing
  [Expand]DevExpress.Xpf.Scheduler.Menu
  [Expand]DevExpress.Xpf.Scheduler.Reporting
  [Expand]DevExpress.Xpf.Scheduler.UI
  [Expand]DevExpress.Xpf.Scheduling
  [Expand]DevExpress.Xpf.Scheduling.Editors
  [Expand]DevExpress.Xpf.Scheduling.Reporting
  [Expand]DevExpress.Xpf.Scheduling.Visual
  [Expand]DevExpress.Xpf.SpellChecker
  [Expand]DevExpress.Xpf.Spreadsheet
  [Expand]DevExpress.Xpf.Spreadsheet.Menu
  [Expand]DevExpress.Xpf.TreeMap
  [Expand]DevExpress.Xpf.Utils.Themes
  [Expand]DevExpress.Xpf.WindowsUI
  [Expand]DevExpress.Xpf.WindowsUI.Internal
  [Expand]DevExpress.Xpf.WindowsUI.Navigation
  [Expand]DevExpress.XtraRichEdit
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

IndicatorEnterEventArgs Class

Provides data for the RangeBase.IndicatorEnter event.

Namespace:DevExpress.Xpf.Gauges
Assembly:DevExpress.Xpf.Gauges.v17.2.dll

Expanded Syntax

Expanded Remarks

The RangeBase.IndicatorEnter event occurs when any value indicator (e.g. needle, level bar, marker or range bar) enters a particular range.

An instance of the IndicatorEnterEventArgs class with appropriate settings is automatically created and passed to the corresponding event's handler.

Expanded Example

Show Me

A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=E3328.

In some cases, you need to know whether or not the current value of an indicator is within a particular range. This example shows how to create a state indicator that changes its color depending on the current range.

First, the Circular gauge is created with three ranges and two empty sections. By default, the gauge's needle doesn't belong to any range, so the state indicator is painted as a gray ellipse.

To solve this task it's necessary to handle the RangeBase.IndicatorEnter and RangeBase.IndicatorLeave events in the following way:

- if a needle 'enters' a range, it is painted with the range color;

- if a needle 'leaves' a range, it is painted in gray.

Note

In this example we set the ValueIndicatorBase.IsInteractive property to True, so that you can click on a gauge and manually change the current needle value.

Expanded Inheritance Hierarchy

System.Object
    System.EventArgs
       ValueChangedEventArgs
          IndicatorEnterLeaveEventArgs
             IndicatorEnterEventArgs

Expanded See Also

How would you rate this topic?​​​​​​​