[]
        
(Showing Draft Content)

C1.Win.C1Gauge.C1GaugePointer

C1GaugePointer Class

Defines properties of the Gauge pointer.

Inheritance
C1GaugePointer
Namespace: C1.Win.C1Gauge
Assembly: C1.Win.C1Gauge.4.8.dll
Syntax
public class C1GaugePointer : ICloneable, IDisposable, ICustomTypeDescriptor

Constructors

Name Description
C1GaugePointer()

Initializes a new instance of the C1GaugePointer.

Properties

Name Description
Alignment

Alignment of the pointer.

Border

Gets the properties of the pointer border.

Clippings

Gets the collection of shapes that form the clipping region.

CustomImage

Gets or sets the custom image used to draw the pointer.

CustomShape

Gets the custom shape of the pointer.

Filling

Adjusts the interior filling of the pointer.

FlipShape

Gets or sets whether the shape of the pointer is inverted.

Gradient

Encapsulates properties of a color gradient.

HitTestable

Gets or sets whether the pointer can be hit-tested.

IsMainPointer

Returns True if this pointer is the main in the owner Gauge.

Length

Gets or sets the logical length of the pointer.

Length2

Gets or sets the end length of the pointer (Length is the start length).

Name

Gets or sets a name associated with the C1GaugePointer.

Offset

Gets or sets the logical offset of the pointer.

Offset2

Gets or sets the end offset of the pointer (Offset is the start offset).

OrthogonalOffset

Gets or sets the logical orthogonal offset of the pointer.

Owner

Gets the owner Gauge.

ScaledValue

Gets the current value scaled by the ValueFactor and ValueOffset.

Shadow

Encapsulates properties of the pointer shadow.

Shape

Selects a shape from the set of predefined pointer shapes.

ShapeAngle

Gets or sets the fixed angle (in degrees) to rotate this pointer.

SweepTime

Gets or sets the time amount (in seconds) that is taken to move the pointer from Minimum to Maximum.

Value

Gets or sets the current value of the C1GaugePointer.

ValueFactor

Gets or sets the value multiplier to coerce the source scale of the value to the Gauge's scale.

ValueOffset

Gets or sets the value offset to coerce the source scale of the value to the Gauge's scale.

ViewTag

Gets or sets a digital tag identifying this element's views.

Visible

Gets or sets whether the pointer is visible.

Width

Gets or sets the logical width of the pointer.

Methods

Name Description
GetValueAt(int, int)

Returns the Value that corresponds to the specified mouse position (x, y), relative to the parent control.

GetValueAt(int, int, bool)

Returns the Value that corresponds to the specified mouse position (x, y), relative to the parent control. If the 'dragging' parameter is True the returned value is the result of dragging the pointer from its current position to (x, y).

IncValue(int, double)

Increments the pointer's Value to the next intervalsCount'th (first, second, etc.) multiple of the snapping interval ('snapInterval').

IncValue(int, double, double)

Increments the pointer's Value to the next intervalsCount'th (first, second, etc.) multiple of the snapping interval ('snapInterval'). The snapOrigin parameter specifies the point of origin for snapping.

ResetBorder()

This member is for internal use only.

ResetCustomImage()

This member is for internal use only.

ResetCustomShape()

This member is for internal use only.

ResetFilling()

This member is for internal use only.

ResetGradient()

This member is for internal use only.

ResetLength()

This member is for internal use only.

ResetOffset()

This member is for internal use only.

ResetShadow()

This member is for internal use only.

ResetWidth()

This member is for internal use only.

ShouldSerializeBorder()

This member is for internal use only.

ShouldSerializeClippings()

This member is for internal use only.

ShouldSerializeCustomImage()

This member is for internal use only.

ShouldSerializeCustomShape()

This member is for internal use only.

ShouldSerializeFilling()

This member is for internal use only.

ShouldSerializeGradient()

This member is for internal use only.

ShouldSerializeLength()

This member is for internal use only.

ShouldSerializeOffset()

This member is for internal use only.

ShouldSerializeShadow()

This member is for internal use only.

ShouldSerializeViewTag()

This member is for internal use only.

ShouldSerializeWidth()

This member is for internal use only.

ToString()

Returns a string that represents the current object.

UpdateValue(double, double)

Updates the pointer's Value with the number nearest 'newValue' that is the multiple of the snapping interval ('snapInterval').

UpdateValue(double, double, double)

Updates the pointer's Value with the number nearest 'newValue' that is the multiple of the snapping interval ('snapInterval') counting from the given origin ('snapOrigin').