Class Tooltip
The Tooltip control will display a popup hint when the user hover/click/focus to the element.
Implements
System.Web.IHtmlString
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 Tooltip : Control, IHtmlString
Constructors
Tooltip()
Initializes a new instance of the Tooltip class.
Declaration
public Tooltip()
Tooltip(String, TooltipProperties)
Initializes a new instance of the Tooltip class by the specified id and the tooltip properties.
Declaration
public Tooltip(string id, TooltipProperties propModel)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | |
TooltipProperties | propModel |
Properties
Model
Instance of control properties class
Declaration
protected override object Model { get; }
Property Value
Type | Description |
---|---|
System.Object |
Overrides
PluginName
Gets the plugin name of the tooltip element as 'ejTooltip'.
Declaration
public override string PluginName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
TooltipModel
Gets or sets the tootip model object of the tooltip properties.
Declaration
public TooltipProperties TooltipModel { get; set; }
Property Value
Type | Description |
---|---|
TooltipProperties |
Methods
CreateContainer(String)
Represents an HTML-encoded string of the tooltip control that should not be encoded again.
Declaration
public override HtmlString CreateContainer(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Returns
Type | Description |
---|---|
System.Web.HtmlString |
Overrides
RenderControl(String)
Represents an HTML element of the tooltip control.
Declaration
public override void RenderControl(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Overrides
Implements
System.Web.IHtmlString