Back to Devexpress

Label Members

corelibraries-devexpress-dot-xtragauges-dot-core-dot-model-dot-label-dot-underscore-members.md

latest13.6 KB
Original Source

Label Members

Represents the base class for labels in gauges.

Constructors

NameDescription
Label()Initializes a new instance of the Label class.
Label(String)Initializes a new Label object with the specified name.

Properties

NameDescription
AllowHTMLStringGets or sets whether HTML tags can be used to format the Label.Text.
AngleGets or sets the angle, measured in degrees, at which the current object is displayed. Inherited from BaseLeafPrimitive.
AppearanceBackgroundContains appearance settings used to paint the label’s background.
AppearanceTextContains appearance settings used to paint the label’s text.
BoundElementNameThis property supports the internal infrastructure and is not intended to be used directly from your code. Inherited from BaseLeafPrimitive.
EnabledGets or sets whether the object is enabled. Inherited from BaseLeafPrimitive.
FormatStringGets or sets the format string for the display text.
HitTestEnabledGets or sets whether the hit-testing feature is enabled for the current object. Inherited from BaseLeafPrimitive.
IsDisposingGets whether the form is currently being disposed of. Inherited from BaseObject.
IsTransformLockedGets whether the object has been locked by the BaseLeafPrimitive.BeginTransform method. Inherited from BaseLeafPrimitive.
IsUpdateLockedGets whether the object has been locked for updating. Inherited from BaseObject.
IsXtraSerializingThis property supports the internal infrastructure and is not intended to be used directly from your code. Inherited from BaseLeafPrimitive.
LocationGets or sets the object’s location. Inherited from BaseLeafPrimitive.
NameGets or sets the label’s name.
ParentCollectionNameThis property supports the internal infrastructure and is not intended to be used directly from your code. Inherited from BaseLeafPrimitive.
ParentNameThis property supports the internal infrastructure and is not intended to be used directly from your code. Inherited from BaseLeafPrimitive.
PositionGets or sets the position of the label’s center within the parent gauge.
RenderableGets or sets whether the object can be rendered on a graphics surface. Inherited from BaseLeafPrimitive.
ScaleFactorGets or sets the object’s scale along the X and Y axes. Inherited from BaseLeafPrimitive.
ShaderGets or sets an object that allows the color of the object to be modified. Inherited from BaseLeafPrimitive.
ShapesGets the collection of inner elements of the current object. Inherited from BaseLeafPrimitive.
SizeGets or sets the label’s size.
TextGets or sets the label’s text.
TextOrientationGets or sets the orientation of the label’s text.
TextShapeGets the label’s shape. This method supports the internal infrastructure and is not intended to be used directly from your code.
TransformGets or sets the transformation matrix. Inherited from BaseLeafPrimitive.
TypeNameExThis property supports the internal infrastructure and is not intended to be used directly from your code. Inherited from BaseLeafPrimitive.
ZOrderGets or sets the Z-Order of the object. Inherited from BaseLeafPrimitive.

Methods

NameDescription
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) staticDetermines 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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

NameDescription
ChangedOccurs after any property of the BaseObject object has been changed. Inherited from BaseObject.
CustomDrawElementOccurs before every gauge element is drawn, allowing you to draw it in a custom manner. Inherited from BaseLeafPrimitive.
DisposedOccurs after the BaseObject has been disposed of. Inherited from BaseObject.

See Also

Label Class

DevExpress.XtraGauges.Core.Model Namespace