Skip to main content
A newer version of this page is available. .

StateIndicator Members

Represents the base class for state indicators within gauges of all types.

Constructors

Name Description
StateIndicator() Initializes a new instance of the StateIndicator class.
StateIndicator(String) Initializes a new instance of the StateIndicator class.

Properties

Name Description
Angle Gets or sets the angle, measured in degrees, at which the current object is displayed. Inherited from BaseLeafPrimitive.
BoundElementName This property supports the internal infrastructure and is not intended to be used directly from your code. Inherited from BaseLeafPrimitive.
Center Gets or sets the position of the state indicator’s center within the parent gauge.
Enabled Gets or sets whether the object is enabled. Inherited from BaseLeafPrimitive.
HitTestEnabled Gets or sets whether the hit-testing feature is enabled for the current object. Inherited from BaseLeafPrimitive.
IsDisposing Gets whether the form is currently being disposed of. Inherited from BaseObject.
IsTransformLocked Gets whether the object has been locked by the BaseLeafPrimitive.BeginTransform method. Inherited from BaseLeafPrimitive.
IsUpdateLocked Gets whether the object has been locked for updating. Inherited from BaseObject.
IsXtraSerializing This property supports the internal infrastructure and is not intended to be used directly from your code. Inherited from BaseLeafPrimitive.
Location Gets or sets the object’s location. Inherited from BaseLeafPrimitive.
ParentCollectionName This property supports the internal infrastructure and is not intended to be used directly from your code. Inherited from BaseLeafPrimitive.
ParentName This property supports the internal infrastructure and is not intended to be used directly from your code. Inherited from BaseLeafPrimitive.
Renderable Gets or sets whether the object can be rendered on a graphics surface. Inherited from BaseLeafPrimitive.
ScaleFactor Gets or sets the object’s scale along the X and Y axes. Inherited from BaseLeafPrimitive.
Shader Gets or sets an object that allows the color of the object to be modified. Inherited from BaseLeafPrimitive.
Shapes Gets the collection of inner elements of the current object. Inherited from BaseLeafPrimitive.
Size Gets or sets the size of the state indicator.
State Gets the state indicator’s current state.
StateIndex Gets or sets the index of the current state in the collection of states.
States Contains states for the state indicator.
Transform Gets or sets the transformation matrix. Inherited from BaseLeafPrimitive.
TypeNameEx This property supports the internal infrastructure and is not intended to be used directly from your code. Inherited from BaseLeafPrimitive.
ZOrder Gets or sets the Z-Order of the object. Inherited from BaseLeafPrimitive.

Methods

Name Description
AddEnum(Enum) Creates states from the elements of the specified enumerator and adds them to the StateIndicator.States collection.
Assign(StateIndicator) Copies settings of the specified object to the current object.
BeginTransform() Prevents the transformation of the BaseLeafPrimitive object from being performed until the EndTransform method is called. Inherited from BaseLeafPrimitive.
CalcHitInfo(Point) Retrieves information on the object’s inner element, located under the specified point. Inherited from BaseLeafPrimitive.
CancelTransform() Unlocks the object after the BeginTransform method has been called, without performing transformation. Inherited from BaseLeafPrimitive.
Dispose() Disposes the BaseObject object. Inherited from BaseObject.
EndTransform() Unlocks the BaseLeafPrimitive object after the BeginUpdate method call and performs object transformation. Inherited from BaseLeafPrimitive.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IsDifferFrom(StateIndicator) Returns whether the current object has different settings than the specified one.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ResetTransform() Resets the object’s location, rotation angle and scale factor. Inherited from BaseLeafPrimitive.
SetStateByName(String) Activates a specific state by its name.
ToString() Returns a string that represents the current object. Inherited from Object.
WaitForPendingDelayedCalculation() For internal use only. Inherited from BaseLeafPrimitive.
XtraCreateShader(XtraItemEventArgs) This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from BaseLeafPrimitive.
XtraCreateStatesItem(XtraItemEventArgs) This member supports the internal infrastructure and is not intended to be used directly from your code.

Events

Name Description
Changed Occurs after any property of the BaseObject object has been changed. Inherited from BaseObject.
CustomDrawElement Occurs before every gauge element is drawn, allowing you to draw it in a custom manner. Inherited from BaseLeafPrimitive.
Disposed Occurs after the BaseObject has been disposed of. Inherited from BaseObject.
See Also