Click or drag to resize

GUIImageStyleModel Class

The GUIImageStyle class defines an image style in GUI and the direct style modifier for GUIImage 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 GUIImageStyleModel : GUIWidgetStyleModel

The GUIImageStyleModel type exposes the following members.

Constructors
  NameDescription
Public methodGUIImageStyleModel
Initializes a new instance of the GUIImageStyleModel class
Top
Properties
  NameDescription
Public propertyAlign (Inherited from GUIWidgetStyleModel.)
Public propertyAtlasPath (Inherited from GUIStyleModel.)
Public propertyAttached
Defines an attached property.
(Inherited from BaseModel.)
Public propertyBackgroundImageSource
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 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
Public propertyImageOffsetSerialized
Public propertyImageSource (Inherited from GUIStyleModel.)
Public propertyIsIdAutogenerated (Inherited from BaseModel.)
Public propertyResizeMode
Public propertyShader
Public propertyTemplateVersionId
Contains a id of source template.
(Inherited from BaseModel.)
Public propertyTileMode
Public propertyTileSize
Public propertyTileSizeSerialized
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>
  <GUIImageStyle Id="MainStyle" BackgroundImageSource="block_white" ImageOffset="1,1" ResizeMode="AlwaysFit" Shader="Unlit/Transparent Colored" TileMode="Tiled" TileSize="1,1" />
</GUIStyles>
See Also
Inheritance Hierarchy
SystemObject
  Livit.Learn.ModelBaseModel
    Livit.Learn.Model.GUI.StylesGUIStyleBaseModel
      Livit.Learn.Model.GUI.StylesGUIStyleModel
        Livit.Learn.Model.GUI.StylesGUIWidgetStyleModel
          Livit.Learn.Model.GUI.StylesGUIImageStyleModel
            Livit.Learn.Model.GUI.StylesGUIChartStyleModel
            Livit.Learn.Model.GUI.StylesGUILabelStyleModel
            Livit.Learn.Model.GUI.StylesGUIPanelStyleModel
            Livit.Learn.Model.GUI.StylesGUIRelativeImageStyleModel
            Livit.Learn.Model.GUI.StylesGUIScrollBarStyleModel
            Livit.Learn.Model.GUI.StylesGUISeriesStyleModel
            Livit.Learn.Model.GUI.StylesGUISliderStyleModel