LinearRange Class
Represents an element that renders a range in a LinearGauge.
public class LinearRange : RangeBase, ILogicalParent, IVisualParent, IOrientedElement
- Inheritance:
- object Visual UIElement FrameworkElement GaugeElement RangeBase object
- Implements:
- ILogicalParent IVisualParent IOrientedElement
Constructors
LinearRange()
Initializes an instance of the class.
public LinearRange()
Properties
EndAscent
The ascent of the range at the EndValue.
Orientation
The orientation of this element, which is inherited/set via an attached property on LinearGauge.
ScaleBarAscent
The ascent of the scale bar, which is inherited/set via an attached property on LinearScale.
ScaleBarExtent
The extent of the scale bar, which is inherited/set via an attached property on ScaleBase.
StartAscent
The ascent of the range at the StartValue.
Methods
OnRender(DrawingContext)
When overridden in a derived class, participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing.
protected override void OnRender(DrawingContext drawingContext)
| Parameter | Type | Description |
|---|---|---|
| drawingContext | DrawingContext | The drawing instructions for a specific element. This context is provided to the layout system. |
Fields
EndAscentProperty
Defines the EndAscent property.
public static readonly DependencyProperty EndAscentProperty
StartAscentProperty
Defines the StartAscent property.
public static readonly DependencyProperty StartAscentProperty
Inherited Members
- RangeBase.BackgroundProperty
- RangeBase.BorderBrushProperty
- RangeBase.BorderDashStyleProperty
- RangeBase.BorderWidthProperty
- RangeBase.EndValueProperty
- RangeBase.HasDropShadowProperty
- RangeBase.ScaleOffsetProperty
- RangeBase.ScalePlacementProperty
- RangeBase.StartValueProperty
- RangeBase.Background
- RangeBase.BorderBrush
- RangeBase.BorderDashStyle
- RangeBase.BorderWidth
- RangeBase.EndValue
- RangeBase.HasDropShadow
- RangeBase.IsLogarithmic
- RangeBase.IsReversed
- RangeBase.LogarithmicBase
- RangeBase.Maximum
- RangeBase.Minimum
- RangeBase.ScaleOffset
- RangeBase.ScalePlacement
- RangeBase.StartValue
- GaugeElement.ZIndexProperty
- GaugeElement.GetVisualChild(int)
- GaugeElement.GetZIndex(UIElement)
- GaugeElement.SetZIndex(UIElement, int)
- GaugeElement.VisualChildren
- GaugeElement.VisualChildrenCount
- GaugeElement.ZIndex