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
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]Controls and Libraries
 [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.Editors
  [Expand]DevExpress.Xpf.Editors.DateNavigator
  [Expand]DevExpress.Xpf.Editors.ExpressionEditor
  [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
  [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
   [Collapse]CircularGaugeHitInfo Class
     CircularGaugeHitInfo Members
    [Collapse]CircularGaugeHitInfo Properties
      InMarker Property
      InNeedle Property
      InRange Property
      InRangeBar Property
      InScale Property
      Marker Property
      Needle Property
      Range Property
      RangeBar Property
      Scale Property
   [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
   [Expand]IndicatorEnterEventArgs Class
    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.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.Scheduler
  [Expand]DevExpress.Xpf.Scheduler.Drawing
  [Expand]DevExpress.Xpf.Scheduler.Menu
  [Expand]DevExpress.Xpf.Scheduler.Reporting
  [Expand]DevExpress.Xpf.Scheduler.UI
  [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.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]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

CircularGaugeHitInfo.RangeBar Property

Gets a range bar which is located under the test point.

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

Expanded Syntax

Property value

Type: ArcScaleRangeBar
An ArcScaleRangeBar object that is the range bar located under the test point.

Expanded Remarks

Use the RangeBar property to access the range bar located under the test point (if the InRangeBar property returns true).

If InRangeBar is false, the RangeBar property returns null (Nothing in Visual Basic).

Expanded Example

Show Me

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

This example demonstrates how to show a tooltip with the current value of a needle on a circular gauge.

To do this, it is necessary to handle the MouseMove and MouseLeave events for the CircularGaugeControl object and obtain the current mouse position on a scale via the CircularGaugeControl.CalcHitInfo method. After that, if the mouse pointer hovers over the needle, it becomes possible to invoke the tooltip that displays the current needle's value.

Note that this approach is applicable to only those gauge elements whose ValueIndicatorBase.IsHitTestVisible property is set to True (this is the default option). If the IsHitTestVisible property is set to False, this element is excluded from the hit-testing algorithm. To explore this behavior in action, mark and unmark the "Show tooltips for a needle" CheckEdit (whose check state is bound to the needle's IsHitTestVisible property). So, the unmarked CheckEdit's state means that tooltips are not displayed for a needle.

Expanded See Also

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