ASP.NET Core

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GanttDragTooltipBuilder - ASP.NETCore API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GanttDragTooltipBuilder

    Inheritance
    System.Object
    GanttDragTooltipBuilder
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class GanttDragTooltipBuilder

    Constructors

    GanttDragTooltipBuilder(GanttDragTooltip)

    It set the value to displaying and customizing the tooltip

    Declaration
    public GanttDragTooltipBuilder(GanttDragTooltip tooltip)
    Parameters
    Type Name Description
    GanttDragTooltip tooltip

    Methods

    ShowTooltip()

    It enable the tooltip while dragging a row.

    Declaration
    public GanttDragTooltipBuilder ShowTooltip()
    Returns
    Type Description
    GanttDragTooltipBuilder

    GanttDragTooltipBuilder

    ShowTooltip(Boolean)

    Specifies whether to show tooltip while dragging a row.

    Declaration
    public GanttDragTooltipBuilder ShowTooltip(bool showTooltip)
    Parameters
    Type Name Description
    System.Boolean showTooltip

    It accepts the boolean value and enable or disable the drag tooltip

    Returns
    Type Description
    GanttDragTooltipBuilder

    GanttDragTooltipBuilder

    TooltipItems(List<GanttTooltipItems>)

    Option to add field names whose corresponding values in the dragged row needs to be shown in the preview tooltip.

    Declaration
    public GanttDragTooltipBuilder TooltipItems(List<GanttTooltipItems> defaultItems)
    Parameters
    Type Name Description
    System.Collections.Generic.List<GanttTooltipItems> defaultItems

    It accepts the GanttTooltipItems and show the specific column in drag tooltip

    Returns
    Type Description
    GanttDragTooltipBuilder

    GanttDragTooltipBuilder

    TooltipItems(List<String>)

    Option to add field names whose corresponding values in the dragged row needs to be shown in the preview tooltip.

    Declaration
    public GanttDragTooltipBuilder TooltipItems(List<string> defaultItems)
    Parameters
    Type Name Description
    System.Collections.Generic.List<System.String> defaultItems

    It accepts the GanttTooltipItems and show the specific column in drag tooltip

    Returns
    Type Description
    GanttDragTooltipBuilder

    GanttDragTooltipBuilder

    TooltipTemplate(String)

    It sets the Custom template for that tooltip that is shown while dragging a row.

    Declaration
    public GanttDragTooltipBuilder TooltipTemplate(string tooltipTemplate)
    Parameters
    Type Name Description
    System.String tooltipTemplate

    It accepts the string value and set the custom template for drag tooltip

    Returns
    Type Description
    GanttDragTooltipBuilder

    GanttDragTooltipBuilder

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