Click or drag to resize

GUILabelModel Class

The GUILabel class defines a text label in the GUI.
Inheritance Hierarchy
SystemObject
  Livit.Learn.ModelBaseModel
    Livit.Learn.ModelTriggableModel
      Livit.Learn.ModelScopeableModel
        Livit.Learn.ModelViewableModel
          Livit.Learn.ModelStateableModel
            Livit.Learn.Model.GUIGUIBaseModel
              Livit.Learn.Model.GUIGUIViewBaseModel
                Livit.Learn.Model.GUIGUIWidgetModel
                  Livit.Learn.Model.GUIGUIImageModel
                    Livit.Learn.Model.GUIGUILabelModel
                      Livit.Learn.Model.GUIGUIAxisModel
                      Livit.Learn.Model.GUIGUIButtonBaseModel
                      Livit.Learn.Model.GUIGUIInputModel
                      Livit.Learn.Model.GUIGUIMarkdownModel

Namespace:  Livit.Learn.Model.GUI
Assembly:  Livit.Learn.Model (in Livit.Learn.Model.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public class GUILabelModel : GUIImageModel

The GUILabelModel type exposes the following members.

Constructors
  NameDescription
Public methodGUILabelModel
Initializes a new instance of the GUILabelModel class
Top
Properties
  NameDescription
Public propertyAlign
Aligns the Widget in the parent GUI.
(Inherited from GUIWidgetModel.)
Public propertyAtlasPath
Defines the texture atlas to be applied to the GUI object.
(Inherited from GUIViewBaseModel.)
Public propertyAttached
Defines an attached property.
(Inherited from BaseModel.)
Public propertyAutoResizeOffset
Public propertyAutoResizeOffsetSerialized
Offsets the Label content from the edges when automatically resized.
Public propertyAutoResizeWithLabel
Resizes the Label automatically.
Public propertyBackgroundImageSource
Defines the background image of the Image.
(Inherited from GUIImageModel.)
Public propertyColor (Inherited from GUIWidgetModel.)
Public propertyComments
(Development) Includes comments in the XML code.
(Inherited from BaseModel.)
Public propertyCode exampleDataContext
Contains a source of all bindings defined for element.
(Inherited from BaseModel.)
Public propertyDepth
Defines the depth of the Widget.
(Inherited from GUIWidgetModel.)
Public propertyDescription
Displays a description of the object to the user.
(Inherited from TriggableModel.)
Public propertyEffect
Applies an effect to the Label.
Public propertyEffectColor
Public propertyEffectColorSerialized
Applies a color to the Effect on the Label.
Public propertyEmphasisDuration
Duration of an element's emphasizing in the scene.
(Inherited from ViewableModel.)
Public propertyExternalXmlPath (Inherited from BaseModel.)
Public propertyFields (Inherited from ScopeableModel.)
Public propertyFieldsSerialized (Inherited from ScopeableModel.)
Public propertyFontPath
Defines the font to be used on the GUI object.
(Inherited from GUIViewBaseModel.)
Public propertyGUITooltipId
Specifies the GUI tooltip template used for this element.
(Inherited from GUIImageModel.)
Public propertyGUIViewport
Applies a Viewport to magnify the Image.
(Inherited from GUIImageModel.)
Public propertyId
Defines a unique identifier for an element in the simulation.
(Inherited from BaseModel.)
Public propertyImageOffset (Inherited from GUIImageModel.)
Public propertyImageOffsetSerialized
Offsets the image's position from its parent element.
(Inherited from GUIImageModel.)
Public propertyImageSource
Defines the Image used by the GUI object.
(Inherited from GUIViewBaseModel.)
Public propertyInitialSize
Defines the size in pixels of the Widget.
(Inherited from GUIWidgetModel.)
Public propertyInitialText
Defines the content of the Label.
Public propertyIsIdAutogenerated (Inherited from BaseModel.)
Public propertyIsScope (Inherited from ScopeableModel.)
Public propertyIsVisible (Inherited from ViewableModel.)
Public propertyKeepAspectRatio
Maintains the Label's aspect ratio when resized.
Public propertyMaxLineCount
Defines the maximum number of lines that can be displayed on the Label.
Public propertyMessageHandlers (Inherited from ScopeableModel.)
Public propertyMessageHandlersSerialized (Inherited from ScopeableModel.)
Public propertyName
(Obsolete) Refers to the GUI object.
(Inherited from GUIViewBaseModel.)
Public propertyOverflow
Determines the Label's behavior if the Text is larger than the defined size.
Public propertyPivot
Aligns the GUI object to its parent.
(Inherited from GUIViewBaseModel.)
Public propertyPosition
Defines the position of the GUI object relative to its parent.
(Inherited from GUIViewBaseModel.)
Public propertyResizeMode
Defines how the Image will be resized.
(Inherited from GUIImageModel.)
Public propertyRotation
Defines the Z-rotation of the GUI object relative to its parent (defaults to 0).
(Inherited from GUIViewBaseModel.)
Public propertyShader
Applies a shader effect to the Image.
(Inherited from GUIImageModel.)
Public propertySource
Defines the content source of the GUI object.
(Inherited from GUIViewBaseModel.)
Public propertySpacing
Public propertySpacingSerialized
Defines the distance between characters in the Label.
Public propertyCode exampleStateGroups
Defines the possible StateGroup for this element.
(Inherited from StateableModel.)
Public propertyStateGroupsSerialized (Inherited from StateableModel.)
Public propertyStyleId
Defines the style identifier of the GUI object.
(Inherited from GUIViewBaseModel.)
Public propertyTags (Inherited from ViewableModel.)
Public propertyTemplateVersionId
Contains a id of source template.
(Inherited from BaseModel.)
Public propertyTextOffset
Public propertyTextOffsetSerialized
Offsets the text from the Label edge.
Public propertyTextSize
Defines the size of the Text.
Public propertyTileMode
Defines how the Image will be loaded in the GUI.
(Inherited from GUIImageModel.)
Public propertyTileSize (Inherited from GUIImageModel.)
Public propertyTileSizeSerialized
Defines the size of the tiling used to display this Image.
(Inherited from GUIImageModel.)
Public propertyTitle
Defines a title for the object.
(Inherited from TriggableModel.)
Public propertyTooltip
Sets the tooltip displayed when the element is hovered over.
(Inherited from GUIImageModel.)
Public propertyTriggers (Inherited from TriggableModel.)
Public propertyTriggersSerialized
Lists the available Triggers for this object.
(Inherited from TriggableModel.)
Public propertyUse2DTooltipObsolete.
Specifies whether usual 3D tooltip should be changed to legacy 2D one.
(Inherited from GUIImageModel.)
Public propertyViewportId
Offsets the Image relative to the target Viewport.
(Inherited from GUIImageModel.)
Public propertyWasShown
(Internal use only) Returns true if the object has been shown in the simulation.
(Inherited from ViewableModel.)
Public propertyXmlComments
(Development) Used as temporary storage for XML comments (like ) to keep them.
(Inherited from BaseModel.)
Top
Methods
  NameDescription
Public methodDeepCopy
Creates an in-memory clone of this object using a BinaryFormatter to ensure all child properties are copied as well.
(Inherited from BaseModel.)
Public methodShallowCopy (Inherited from BaseModel.)
Public methodShouldSerializeStateGroups (Inherited from StateableModel.)
Public methodShouldSerializeTriggers (Inherited from TriggableModel.)
Public methodToString
Returns a string that represents the current object.
(Inherited from BaseModel.)
Public methodUpdateModels
This method will update this model and all its child models.
(Inherited from BaseModel.)
Top
See Also