Class TreeGridTooltipOptionBuilder
Inheritance
System.Object
TreeGridTooltipOptionBuilder
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 TreeGridTooltipOptionBuilder
Constructors
TreeGridTooltipOptionBuilder(TreeGridDragTooltip)
Initializes a new instance of the
Declaration
public TreeGridTooltipOptionBuilder(TreeGridDragTooltip tooltip)
Parameters
Type | Name | Description |
---|---|---|
TreeGridDragTooltip | tooltip | It displays the list of tooltip option |
Methods
ShowTooltip()
Gets or sets a value to display tooltip.
Declaration
public TreeGridTooltipOptionBuilder ShowTooltip()
Returns
Type | Description |
---|---|
TreeGridTooltipOptionBuilder | TreeGridTooltipOptionBuilder |
ShowTooltip(Boolean)
Gets or sets a value to display tooltip.
Declaration
public TreeGridTooltipOptionBuilder ShowTooltip(bool showTooltip)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showTooltip | It accepts boolean and enable the tooltip visibility |
Returns
Type | Description |
---|---|
TreeGridTooltipOptionBuilder | TreeGridTooltipOptionBuilder |
TooltipItems(List<TreeGridTooltipItems>)
Gets or sets a value to bind default tooltip items
Declaration
public TreeGridTooltipOptionBuilder TooltipItems(List<TreeGridTooltipItems> defaultItems)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<TreeGridTooltipItems> | defaultItems | It displays list of tooltip items using enumeration value |
Returns
Type | Description |
---|---|
TreeGridTooltipOptionBuilder | TreeGridTooltipOptionBuilder |
TooltipItems(List<String>)
Gets or sets a value to bind default tooltip items
Declaration
public TreeGridTooltipOptionBuilder TooltipItems(List<string> defaultItems)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.String> | defaultItems | It displays list of tooltip items in the form of string |
Returns
Type | Description |
---|---|
TreeGridTooltipOptionBuilder | TreeGridTooltipOptionBuilder |
TooltipTemplate(String)
Gets or sets a value to render tooltip template for custom tooltip.
Declaration
public TreeGridTooltipOptionBuilder TooltipTemplate(string tooltipTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.String | tooltipTemplate | It accepts string and render custom tooltip |
Returns
Type | Description |
---|---|
TreeGridTooltipOptionBuilder | TreeGridTooltipOptionBuilder |