Represents a cap pointer for use in a Circular
- Inheritance:
-
object
Visual
UIElement
Framework
Element GaugeElement PointerBase CircularPointer objectBase
- Implements:
-
ILogical
Parent IVisualParent
Remarks
For detailed documentation on this control's features and how to use them, please see the Gauge documentation topics.
Constructors
CircularPointerCap()
Initializes an instance of the class.
Properties
CanRotate
Gets and sets a value indicating whether the circular pointer cap should be rotated to point to the associated value. This is a dependency property.
Property Value
- bool:
true
if the pointer cap should rotate; otherwise,false
. The default value isfalse
.
CapType
Gets or sets the type of cap rendered. This is a dependency property.
Property Value
- Pointer
Cap :Type The type of cap rendered. The default value is
PointerCapType.CircleConcave
.
Geometry
Gets or sets the custom geometry. This is a dependency property.
Property Value
- Geometry:
A custom geometry. The default value is
null
.
Remarks
This property is only used when CapPointerCapType.CustomGeometry
.
ImageSource
Gets or sets the source of a custom image. This is a dependency property.
Property Value
- Image
Source : The image source. The default value is
null
.
Remarks
This property is only used when CapPointerCapType.CustomImage
.
IsBackgroundEffectEnabled
Gets and sets a value indicating whether a special effect should be rendered for the background of the cap. This is a dependency property.
Property Value
- bool:
true
if the background effect is enabled; otherwise,false
. The default value istrue
.
Methods
OnCreateAutomationPeer()
Creates an appropriate Automation
Returns
- Automation
Peer : null
.
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.
Parameter | Type | Description |
---|---|---|
drawingContext | Drawing |
The drawing instructions for a specific element. This context is provided to the layout system. |
Fields
CanRotateProperty
Identifies the Can
CapTypeProperty
Identifies the Cap
GeometryProperty
Identifies the Geometry dependency property. This field is read-only.
ImageSourceProperty
Identifies the Image
IsBackgroundEffectEnabledProperty
Identifies the Is
Inherited Members
-
Circular
Pointer Base. Pointer Direction Property -
Circular
Pointer Base. Value Angle Property -
Circular
Pointer Base. Calculate Angle(double) -
Circular
Pointer Base. Calculate Value(Point) -
Circular
Pointer Base. Calculate Value(double) -
Circular
Pointer Base. Update Display Value() -
Circular
Pointer Base. Update Value Angle() -
Circular
Pointer Base. Pointer Direction -
Circular
Pointer Base. Radius -
Circular
Pointer Base. Scale Bar Extent -
Circular
Pointer Base. Start Angle -
Circular
Pointer Base. Sweep Angle -
Circular
Pointer Base. Value Angle -
Pointer
Base. Value Changing Event -
Pointer
Base. Value Changed Event -
Pointer
Base. Background Property -
Pointer
Base. Border Brush Property -
Pointer
Base. Border Dash Style Property -
Pointer
Base. Border Width Property -
Pointer
Base. Can Drag Property -
Pointer
Base. Dampening Maximum Duration Property -
Pointer
Base. Dampening Minimum Duration Property -
Pointer
Base. Display Value Property -
Pointer
Base. Drag Cursor Property -
Pointer
Base. Has Drop Shadow Property -
Pointer
Base. Is Dragging Property -
Pointer
Base. Is Dragging Animated Property -
Pointer
Base. Is Snapping Enabled Property -
Pointer
Base. Is Value Changed Event Raised Property -
Pointer
Base. Is Value Changing Event Raised Property -
Pointer
Base. Pointer Ascent Property -
Pointer
Base. Pointer Extent Property -
Pointer
Base. Refresh Rate Property -
Pointer
Base. Scale Offset Property -
Pointer
Base. Scale Placement Property -
Pointer
Base. Snapping Interval Property -
Pointer
Base. Snapping Mode Property -
Pointer
Base. Throttled Value Property -
Pointer
Base. Value Property -
Pointer
Base. Cancel Drag() -
Pointer
Base. On Key Down(Key Event Args) -
Pointer
Base. On Mouse Left Button Down(Mouse Button Event Args) -
Pointer
Base. On Mouse Left Button Up(Mouse Button Event Args) -
Pointer
Base. On Mouse Move(Mouse Event Args) -
Pointer
Base. On Value Changed(double, double) -
Pointer
Base. Start Drag(Mouse Button Event Args) -
Pointer
Base. Update Value(Point) -
Pointer
Base. Background -
Pointer
Base. Border Brush -
Pointer
Base. Border Dash Style -
Pointer
Base. Border Width -
Pointer
Base. Can Drag -
Pointer
Base. Dampening Maximum Duration -
Pointer
Base. Dampening Minimum Duration -
Pointer
Base. Display Value -
Pointer
Base. Drag Cursor -
Pointer
Base. Has Drop Shadow -
Pointer
Base. Is Dragging -
Pointer
Base. Is Dragging Animated -
Pointer
Base. Is Logarithmic -
Pointer
Base. Is Reversed -
Pointer
Base. Is Snapping Enabled -
Pointer
Base. Is Value Changed Event Raised -
Pointer
Base. Is Value Changing Event Raised -
Pointer
Base. Logarithmic Base -
Pointer
Base. Maximum -
Pointer
Base. Minimum -
Pointer
Base. Pointer Ascent -
Pointer
Base. Pointer Extent -
Pointer
Base. Refresh Rate -
Pointer
Base. Throttled Value -
Pointer
Base. Scale Offset -
Pointer
Base. Scale Placement -
Pointer
Base. Snapping Interval -
Pointer
Base. Snapping Mode -
Pointer
Base. Value -
Pointer
Base. Value Changing -
Pointer
Base. Value Changed -
Gauge
Element. ZIndex Property -
Gauge
Element. Get Visual Child(int) -
Gauge
Element. Get ZIndex(UIElement) -
Gauge
Element. Set ZIndex(UIElement, int) -
Gauge
Element. Visual Children -
Gauge
Element. Visual Children Count -
Gauge
Element. ZIndex