Needle Class

Represents a needlei na Gauge control.

Definition

Namespace: BeeMobile.Gauge
Assembly: BeeMobile.Gauge.NET48 (in BeeMobile.Gauge.NET48.dll) Version: 4.8.0.4
C#
[TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter")]
public class Needle : INotifyPropertyChanged
Inheritance
Object    Needle
Implements
INotifyPropertyChanged

Constructors

Needle Initializes a new instance of the Needle object.

Properties

Length Gets or sets the needle's length in pixels.
NeedleColor Gets or sets the NeedleColor.
Offset Gets or sets the offset of Gauge from top left corner.
OutOfRangeIndicator Gets the settings of the out of range indicators.
Value Gets or sets the Value.
Visible Gets or sets a value indicating if this Needle should be shown or hidden.
Width Gets or sets the Width.

Methods

Draw Draws the Needle.
DrawNeedleKnob Draws the needles knob.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnPropertyChanged Fires PropertyChanged event.
OnValueChanged Fires ValueChanged event.
ResetLength Sets the Length to the default value.
ResetNeedleColor Sets the NeedleColor to the default value.
ResetValue Sets the Value to the default value.
ResetVisible Sets the Visible to the default value.
ResetWidth Sets the Width to the default value.
ShouldSerializeLength Indicates whether the Length property should be serialized by Visual Studio designer.
ShouldSerializeNeedleColor Indicates whether the NeedleColor property should be serialized by Visual Studio designer.
ShouldSerializeValue Indicates whether the Value property should be serialized by Visual Studio designer.
ShouldSerializeVisible Indicates whether the Visible property should be serialized by Visual Studio designer.
ShouldSerializeWidth Indicates whether the Width property should be serialized by Visual Studio designer.
ToString Returns a System.String that represents the current System.Object.
(Overrides ObjectToString)

Events

PropertyChanged Occurs when a property value changes.
ValueChanged Occurs when the Value was changed.

See Also