In This Article

LinearPointerBar Class

Represents a bar pointer for use in a LinearGauge.

public class LinearPointerBar : LinearPointerBase, ILogicalParent, IVisualParent
Inheritance:
object Visual UIElement FrameworkElement GaugeElement PointerBase LinearPointerBase object
Implements:
ILogicalParent IVisualParent

Remarks

For detailed documentation on this control's features and how to use them, please see the Gauge documentation topics.

Constructors

LinearPointerBar()

Initializes an instance of the class.

public LinearPointerBar()

Properties

BarOrigin

Gets or sets the origin of the bar. This is a dependency property.

public PointerBarOrigin BarOrigin { get; set; }

Property Value

PointerBarOrigin:

The origin of the bar. The default value is Minimum.

BarType

Gets or sets the type of bar rendered. This is a dependency property.

public PointerBarType BarType { get; set; }

Property Value

PointerBarType:

The type of bar rendered. The default value is Rectangle.

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

BarOriginProperty

Identifies the BarOrigin dependency property. This field is read-only.

public static readonly DependencyProperty BarOriginProperty

BarTypeProperty

Identifies the BarType dependency property. This field is read-only.

public static readonly DependencyProperty BarTypeProperty

Inherited Members