menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramDiagramTooltip - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DiagramDiagramTooltip

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    DiagramDiagramTooltip
    DiagramTooltipDiagram
    NodeTooltipNodes
    Namespace: Syncfusion.EJ2.Diagrams
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DiagramDiagramTooltip : EJTagHelper

    Constructors

    DiagramDiagramTooltip()

    Declaration
    public DiagramDiagramTooltip()

    Properties

    Animation

    Allows to set the same or different animation option for the Tooltip, when it is opened or closed.

    Declaration
    public object Animation { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Content

    Defines the content of the Tooltip

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

    The default value is ""

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    Height

    Sets the height of the Tooltip

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

    The default value is "auto"

    IsSticky

    Specifies whether the tooltip remains visible even when the mouse moves away from the target element. If set to true, the tooltip is always visible; otherwise, it is hidden when the mouse moves away. The default value is false.

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

    The default value is false

    OpenOn

    Sets how to open the Tooltip

    Declaration
    public TooltipMode OpenOn { get; set; }
    Property Value
    Type Description
    TooltipMode

    The default value is TooltipMode.Auto

    Position

    Defines the position of the Tooltip

    Declaration
    public object Position { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is 'TopLeft'

    RelativeMode

    Defines the relative mode of the Tooltip Object - sets the tooltip position relative to the node Mouse - sets the tooltip position relative to the mouse

    Declaration
    public TooltipRelativeMode RelativeMode { get; set; }
    Property Value
    Type Description
    TooltipRelativeMode

    The default value is TooltipRelativeMode.Mouse

    ShowTipPointer

    Defines if the Tooltip has tip pointer or not

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

    The default value is true

    Width

    Sets the width of the Tooltip

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

    The default value is "auto"

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