SetterModel Class |
Namespace: Livit.Learn.Model.Actions
[SerializableAttribute] public class SetterModel : ActionModel, ITargetModel
The SetterModel type exposes the following members.
Name | Description | |
---|---|---|
![]() | SetterModel | Initializes a new instance of the SetterModel class |
Name | Description | |
---|---|---|
![]() | Adjustment |
Adds to the value of the selected property.
|
![]() | Attached |
Defines an attached property.
(Inherited from BaseModel.) |
![]() | Comments |
(Development) Includes comments in the XML code.
(Inherited from BaseModel.) |
![]() | Conditions | (Inherited from ConditionsDependantModel.) |
![]() | ConditionTimeout | (Inherited from ConditionsDependantModel.) |
![]() ![]() | DataContext |
Contains a source of all bindings defined for element.
(Inherited from BaseModel.) |
![]() | ExpressionValue | |
![]() | ExternalXmlPath | (Inherited from BaseModel.) |
![]() | GlobalOrderIndex | (Inherited from ActionModel.) |
![]() | HashedPath | (Inherited from ActionModel.) |
![]() | Id |
Defines a unique identifier for an element in the simulation.
(Inherited from BaseModel.) |
![]() | IgnoreInPH | (Inherited from ActionModel.) |
![]() | IsIdAutogenerated | (Inherited from BaseModel.) |
![]() | IsRunning | (Inherited from ActionModel.) |
![]() | IsTransient | (Inherited from ActionModel.) |
![]() | IsTransientInstance | (Inherited from ActionModel.) |
![]() | Target |
Specifies the target object.
|
![]() | TemplateVersionId |
Contains a id of source template.
(Inherited from BaseModel.) |
![]() | Value |
Gives a new value to the selected property.
|
![]() | XmlComments |
(Development) Used as temporary storage for XML comments (like ) to keep them.
(Inherited from BaseModel.) |
Name | Description | |
---|---|---|
![]() | DeepCopy |
Creates an in-memory clone of this object using a BinaryFormatter to ensure all child properties are copied as well.
(Inherited from BaseModel.) |
![]() | ShallowCopy | (Inherited from BaseModel.) |
![]() | ToString |
Returns a string that represents the current object.
(Inherited from BaseModel.) |
![]() | UpdateModels |
This method will update this model and all its child models.
(Inherited from BaseModel.) |
The Setter action can either set a new Value for the property, or make an Adjustment to the property, but not both at the same time.
<Setter Target="Bottle" Property="Amount" Value="10" />
<Setter Target="Bottle" Property="Amount" Adjustment="10" />