Label Members
Represents the base class for labels in gauges.Constructors
Name | Description |
---|---|
Label() | Initializes a new instance of the Label class. |
Label(String) | Initializes a new Label object with the specified name. |
Properties
Name | Description |
---|---|
AllowHTMLString | Gets or sets whether HTML tags can be used to format the Label.Text. |
Angle | Gets or sets the angle, measured in degrees, at which the current object is displayed. Inherited from BaseLeafPrimitive. |
AppearanceBackground | Contains appearance settings used to paint the label’s background. |
AppearanceText | Contains appearance settings used to paint the label’s text. |
BoundElementName | This property supports the internal infrastructure and is not intended to be used directly from your code. Inherited from BaseLeafPrimitive. |
Enabled | Gets or sets whether the object is enabled. Inherited from BaseLeafPrimitive. |
FormatString | Gets or sets the format string for the display text. |
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. |
Name | Gets or sets the label’s name. |
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. |
Position | Gets or sets the position of the label’s center within the parent gauge. |
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 label’s size. |
Text | Gets or sets the label’s text. |
TextOrientation | Gets or sets the orientation of the label’s text. |
TextShape | Gets the label’s shape. This method supports the internal infrastructure and is not intended to be used directly from your code. |
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 |
---|---|
Assign(ILabel) | Copies settings from the specified object to the current object. |
Assign(Label) | Copies settings from 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(ILabel) | Returns whether the current object has different settings than the specified one. |
IsDifferFrom(Label) | 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. |
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. |
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