Class TooltipProperties
Defines TooltipProperties class
Inherited Members
Namespace: Syncfusion.JavaScript.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class TooltipProperties : EJTagHelper
Constructors
TooltipProperties()
Initializes a new instance of the TooltipProperties class.
Declaration
public TooltipProperties()
Properties
AllowKeyboardNavigation
Gets or sets a value enabling KeyboardNavigation in Tooltip.
Declaration
[JsonProperty("allowKeyboardNavigation")]
public bool AllowKeyboardNavigation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Animation
Gets or sets the animation behavior in Tooltip. It contains the following sub properties - Effect and Speed.
Declaration
[JsonProperty("animation")]
public TipAnimation Animation { get; set; }
Property Value
Type | Description |
---|---|
TipAnimation | animation. |
Associate
Gets or sets the position related to target element, window, mouse or (x,y) co-ordinates.
Declaration
[JsonProperty("associate")]
[JsonConverter(typeof(StringEnumConverter))]
public Associate Associate { get; set; }
Property Value
Type | Description |
---|---|
Associate |
AutoCloseTimeout
Gets or sets the delay to hide Tooltip when closeMode is auto.
Declaration
[JsonProperty("autoCloseTimeout")]
public int AutoCloseTimeout { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
BeforeClose
Gets or sets a value indicating this event gets fired before the tooltip is closed.
Declaration
[JsonProperty("beforeClose")]
public string BeforeClose { get; set; }
Property Value
Type | Description |
---|---|
System.String |
BeforeOpen
Gets or sets a value indicating this event gets fired before the tooltip is opened.
Declaration
[JsonProperty("beforeOpen")]
public string BeforeOpen { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Click
Gets or sets a value indicating this event gets fired when tooltip is clicked.
Declaration
[JsonProperty("click")]
public string Click { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Close
Gets or sets a value indicating this event gets fired when the tooltip is closed.
Declaration
[JsonProperty("close")]
public string Close { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CloseMode
Gets or sets the closing behavior of Tooltip popup.
Declaration
[JsonProperty("closeMode")]
[JsonConverter(typeof(StringEnumConverter))]
public CloseMode CloseMode { get; set; }
Property Value
Type | Description |
---|---|
CloseMode |
Collision
Gets or sets the Tooltip in alternate position when collision occurs.
Declaration
[JsonProperty("collision")]
[JsonConverter(typeof(StringEnumConverter))]
public Collision Collision { get; set; }
Property Value
Type | Description |
---|---|
Collision |
Containment
Specified the selector for the container element.
Declaration
[JsonProperty("containment ")]
public string Containment { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Content
Gets or sets the text associated with tooltip.
Declaration
[JsonProperty("content")]
public string Content { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Create
Gets or sets a value indicating this event gets fired when tooltip is created.
Declaration
[JsonProperty("create")]
public string Create { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CssClass
Gets or sets the root CSS class to tooltip for theme customization.
Declaration
[JsonProperty("cssClass")]
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Destroy
Gets or sets a value indicating this event gets fired when the tooltip is destroyed.
Declaration
[JsonProperty("destroy")]
public string Destroy { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Enabled
Gets or sets a value indicating whether the control can respond to user interaction.
Declaration
[JsonProperty("enabled")]
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableRTL
Gets or sets a value indicating whether control's elements supports to align in right to left direction.
Declaration
[JsonProperty("enableRTL")]
public bool EnableRTL { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Height
Gets or sets the height of the tooltip.
Declaration
[JsonProperty("height")]
public string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Hover
Gets or sets a value indicating this event gets fired when the tooltip is hovered.
Declaration
[JsonProperty("hover")]
public string Hover { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsBalloon
Gets or sets a value enabling the arrow in Tooltip.
Declaration
[JsonProperty("isBalloon")]
public bool IsBalloon { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Open
Gets or sets a value indicating this event gets fired when the tooltip is opened.
Declaration
[JsonProperty("open")]
public string Open { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Position
Gets or sets various attributes of the Tooltip position
Declaration
[JsonProperty("position")]
public TipPosition Position { get; set; }
Property Value
Type | Description |
---|---|
TipPosition | position. |
ShowRoundedCorner
Gets or sets a value indicating whether tooltip with rounded corners or not.
Declaration
[JsonProperty("showRoundedCorner")]
public bool ShowRoundedCorner { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShowShadow
Gets or sets a value enabling the shadow in Tooltip.
Declaration
[JsonProperty("showShadow")]
public bool ShowShadow { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Target
Gets or sets a selector for elements, within the container.
Declaration
[JsonProperty("target")]
public string Target { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Title
Gets or sets The title text to be displayed in the Tooltip header.
Declaration
[JsonProperty("title")]
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Tracking
Gets or sets a value indicating this event gets fired while hover the target element, when the tooltip positioning is relates to the mouse.
Declaration
[JsonProperty("tracking")]
public string Tracking { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Trigger
Gets or sets the event action to show case the Tooltip.
Declaration
[JsonProperty("trigger")]
[JsonConverter(typeof(StringEnumConverter))]
public Trigger Trigger { get; set; }
Property Value
Type | Description |
---|---|
Trigger |
Width
Gets or sets the width of the tooltip.
Declaration
[JsonProperty("width")]
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetControlDetails()
Declaration
protected override object GetControlDetails()
Returns
Type | Description |
---|---|
System.Object |
Overrides
ShouldSerializeTipAnimation()
ShouldSerialize Method for Animation
Declaration
public bool ShouldSerializeTipAnimation()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeTipPosition()
ShouldSerialize Method for Position
Declaration
public bool ShouldSerializeTipPosition()
Returns
Type | Description |
---|---|
System.Boolean |