ActionSettings Class
Represents a type that contains click and hover actions for a specific drawing or text.
- Inheritance:
- System.ObjectActionSettings
Properties
Click
Gets or sets the action that specifies what should happen when the user clicks on the drawing or text with a pointing device such as a computer mouse.
To remove a click action from the drawing or text, set this property to null.
Property Value
The action that specifies what should happen when the user clicks on the drawing or text with a pointing device such as a computer mouse.
Remarks
When setting a value, instance of a Action won't actually be stored in this drawing or text, but the data to which the instance points to will be copied. This enables easy copying of complex properties from one drawing / text to another.
Exceptions
- System.InvalidOperationException
Specified action is not supported in the current context.
- System.ArgumentException
Action's target is not contained in the same presentation as the current drawing or text.
Hover
Gets or sets the action that specifies what should happen when the user hovers over the drawing or text with a pointing device such as a computer mouse.
To remove a click action from the drawing or text, set this property to null.
Property Value
The action that specifies what should happen when the user hovers over the drawing or text with a pointing device such as a computer mouse.
Remarks
When setting a value, instance of a Action won't actually be stored in this drawing or text, but the data to which the instance points to will be copied. This enables easy copying of complex properties from one drawing / text to another.
Exceptions
- System.InvalidOperationException
Specified action is not supported in the current context.
- System.ArgumentException
Action's target is not contained in the same presentation as the current drawing or text.