Click or drag to resize

ClickModel Class

The Click action replicates a user's clicks during the simulation.
Inheritance Hierarchy

Namespace:  Livit.Learn.Model.Actions
Assembly:  Livit.Learn.Model (in Livit.Learn.Model.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public class ClickModel : AutomatedInteractionModel, IHaveTargetHashedPath

The ClickModel type exposes the following members.

Constructors
  NameDescription
Public methodClickModel
Initializes a new instance of the ClickModel class
Top
Properties
  NameDescription
Public propertyAttached
Defines an attached property.
(Inherited from BaseModel.)
Public propertyClickConditions
Defines Conditions that must be met for the Click Action to proceed.
(Inherited from AutomatedInteractionModel.)
Public propertyComments
(Development) Includes comments in the XML code.
(Inherited from BaseModel.)
Public propertyConditions (Inherited from ConditionsDependantModel.)
Public propertyConditionTimeout (Inherited from ConditionsDependantModel.)
Public propertyCode exampleDataContext
Contains a source of all bindings defined for element.
(Inherited from BaseModel.)
Public propertyExternalXmlPath (Inherited from BaseModel.)
Public propertyGlobalOrderIndex (Inherited from ActionModel.)
Public propertyHashedPath (Inherited from ActionModel.)
Public propertyId
Defines a unique identifier for an element in the simulation.
(Inherited from BaseModel.)
Public propertyIgnoreInPH (Inherited from ActionModel.)
Public propertyIsIdAutogenerated (Inherited from BaseModel.)
Public propertyIsRunning (Inherited from ActionModel.)
Public propertyIsTransient (Inherited from ActionModel.)
Public propertyIsTransientInstance (Inherited from ActionModel.)
Public propertyParameter
Specifies the expected value for the Notification.
(Inherited from AsyncActionModel.)
Public propertyTarget
Specifies the target object.
(Inherited from AutomatedInteractionModel.)
Public propertyTargetHashedPath
Public propertyTemplateVersionId
Contains a id of source template.
(Inherited from BaseModel.)
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
  NameDescription
Public fieldStatic memberDefaultTargetHashedPath
Top
Remarks

The Click action is equivalent to an on its target. It can also contain its own collection of actions to be performed.

It is also used in PlayHistory to replicate user clicks.

Examples
This Click will also perform the GotoState action on its target:
XML
<Click Target="MyElement">
  <GotoState Id="Open" />
</Click>
See Also