GemBox.Presentation
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    ActionSettings Class

    Namespace:
    GemBox.Presentation
    Assembly:
    GemBox.Presentation.dll

    Represents a type that contains click and hover actions for a specific drawing or text.

    • C#
    • VB.NET
    public sealed class ActionSettings
    Public NotInheritable Class ActionSettings
    Inheritance:
    System.Object
    ActionSettings

    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.

    • C#
    • VB.NET
    public Action Click { get; set; }
    Public Property Click As Action
    Property Value
    Action

    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.

    • C#
    • VB.NET
    public Action Hover { get; set; }
    Public Property Hover As Action
    Property Value
    Action

    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.

    Examples

    Hyperlinks Example
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.