Click or drag to resize

GUILabelStyleModel Class

The GUILabelStyle class defines a label style in GUI and the direct style modifier for GUILabel class.
Inheritance Hierarchy

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

The GUILabelStyleModel type exposes the following members.

Constructors
  NameDescription
Public methodGUILabelStyleModel
Initializes a new instance of the GUILabelStyleModel class
Top
Properties
  NameDescription
Public propertyAlign (Inherited from GUIWidgetStyleModel.)
Public propertyAtlasPath (Inherited from GUIStyleModel.)
Public propertyAttached
Defines an attached property.
(Inherited from BaseModel.)
Public propertyAutoResizeOffset
Public propertyAutoResizeOffsetSerialized
Public propertyAutoResizeWithLabel
Public propertyBackgroundImageSource (Inherited from GUIImageStyleModel.)
Public propertyColor (Inherited from GUIWidgetStyleModel.)
Public propertyColorSerialized (Inherited from GUIWidgetStyleModel.)
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 propertyEffect
Public propertyEffectColor
Public propertyEffectColorSerialized
Public propertyExternalXmlPath (Inherited from BaseModel.)
Public propertyFontPath (Inherited from GUIStyleModel.)
Public propertyHasAtlasPath (Inherited from GUIStyleModel.)
Public propertyHasFontPath (Inherited from GUIStyleModel.)
Public propertyHasImageSource (Inherited from GUIStyleModel.)
Public propertyId
Defines a unique identifier for an element in the simulation.
(Inherited from BaseModel.)
Public propertyImageOffset (Inherited from GUIImageStyleModel.)
Public propertyImageOffsetSerialized (Inherited from GUIImageStyleModel.)
Public propertyImageSource (Inherited from GUIStyleModel.)
Public propertyIsIdAutogenerated (Inherited from BaseModel.)
Public propertyKeepAspectRatio
Public propertyMaxLineCount
Public propertyOverflow
Public propertyResizeMode (Inherited from GUIImageStyleModel.)
Public propertyShader (Inherited from GUIImageStyleModel.)
Public propertySpacing
Public propertySpacingSerialized
Public propertyTemplateVersionId
Contains a id of source template.
(Inherited from BaseModel.)
Public propertyTextOffset
Public propertyTextOffsetSerialized
Public propertyTextSize
Public propertyTileMode (Inherited from GUIImageStyleModel.)
Public propertyTileSize (Inherited from GUIImageStyleModel.)
Public propertyTileSizeSerialized (Inherited from GUIImageStyleModel.)
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 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
Fields
Examples
XML
<GUIStyles>
  <GUILabelStyle Id="MainStyle" AutoResizeOffset="1,1" AutoResizeWithLabel="true" Effect="Outline" EffectColor="1,1,1,1" KeepAspectRatio="BasedOnHeight" MaxLineCount="100" Overflow="ClampContent" Spacing="1,1" TextOffset="1,1" TextSize="10" />
</GUIStyles>
See Also