menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TooltipEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TooltipEventArgs

    Interface for Tooltip event arguments.

    Inheritance
    System.Object
    TooltipEventArgs
    Namespace: Syncfusion.Blazor.Popups
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class TooltipEventArgs : Object

    Constructors

    TooltipEventArgs()

    Declaration
    public TooltipEventArgs()

    Properties

    Cancel

    Gets or sets whether the current action should be cancelled or not.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    true, if the current action needs to be cancelled. Otherwise, false.

    CollidedPosition

    Gets or sets a value that denotes the Collided Tooltip position.

    Declaration
    public string CollidedPosition { get; set; }
    Property Value
    Type Description
    System.String

    A value that specifies the position of Tooltip element. The default value is TopCenter

    Element

    Gets or sets a value that denotes the Tooltip element.

    Declaration
    public DOM Element { get; set; }
    Property Value
    Type
    DOM

    Event

    Gets or sets a value that specify the current event object.

    Declaration
    public EventArgs Event { get; set; }
    Property Value
    Type
    System.EventArgs

    HasText

    Gets or sets a value that determines whether the Tooltip content contains text character or not.

    Declaration
    public bool HasText { get; set; }
    Property Value
    Type Description
    System.Boolean

    true, if the Tooltip content contains text character. Otherwise, false.

    IsInteracted

    If the event is triggered by interaction, it returns true. Otherwise, it returns false.

    Declaration
    public bool IsInteracted { get; set; }
    Property Value
    Type Description
    System.Boolean

    true, if the event is triggered by interaction. Otherwise, false.

    Left

    Gets or sets a value that specifies the clientX position of the target element.

    Declaration
    public Nullable<double> Left { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    Accepts the double value.

    Name

    Specifies the name of the event triggered in Tooltip.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Accepts the string value.

    Remarks

    The list of event names that will be received are

    • beforeCollision
    • beforeRender
    • beforeOpen
    • beforeClose

    Target

    Gets or sets a value that denotes the current target element where the Tooltip is to be displayed.

    Declaration
    public DOM Target { get; set; }
    Property Value
    Type
    DOM

    Top

    Gets or sets a value that specifies the clientY position of the target element.

    Declaration
    public Nullable<double> Top { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    Accepts the double value.

    Type

    Gets or sets a value that denotes the type of triggered event.

    Declaration
    public string Type { get; set; }
    Property Value
    Type Description
    System.String

    Accepts the string value.

    Remarks

    The list of types that will be received are

    • mouseover
    • mouseleave
    • mousedown
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved