Tooltip
in namespace DotVVM.Framework.Controls.Bootstrap
Adds Bootstrap Tooltip to inner element or control.
Usage & Scenarios
Adds the Bootstrap Tooltip to an element or control.
Sample 1: Tooltip Usage
The Tooltip control has the Title property which holds the text used in the Tooltip.
The position of the tooltip can be set using the Position property.
<bs:Tooltip Position="Left" Title="This element has simple tooltip">
<a href="#">Link 1</a>
</bs:Tooltip>
<bs:Tooltip Position="Right" Title="This element has simple tooltip">
<a href="#">Link 2</a>
</bs:Tooltip>
<bs:Tooltip Position="Bottom" Title="This element has simple tooltip">
<a href="#">Link 3</a>
</bs:Tooltip>
<bs:Tooltip Position="Top" Title="This element has simple tooltip">
<a href="#">Link 4</a>
</bs:Tooltip>
Properties
| Name | Type | Description | Notes | Default Value | |
|---|---|---|---|---|---|
| Attributes | Dictionary<String,Object> |
attribute
static value
|
null | ||
| BackgroundColor | BootstrapContextualBackgroundColor |
attribute
static value
bindable
|
None | ||
| Centered | Boolean |
attribute
static value
|
False | ||
| ClearFix | Boolean |
attribute
static value
|
False | ||
| ClientIDMode | ClientIDMode | Gets or sets the client ID generation algorithm. |
attribute
static value
|
Static | |
| DataContext | Object | Gets or sets a data context for the control and its children. All value and command bindings are evaluated in context of this value. |
attribute
static value
bindable
|
null | |
| Float | BootstrapQuickFloat |
attribute
static value
|
None | ||
| ForceHidden | Boolean |
attribute
static value
bindable
|
False | ||
| ForceShown | Boolean |
attribute
static value
|
False | ||
| ID | String | Gets or sets the unique control ID. |
attribute
static value
bindable
|
null | |
| IncludeInPage | Boolean | Gets or sets whether the control is included in the DOM of the page. |
attribute
bindable
|
True | |
| InnerText | String | Gets or sets the inner text of the HTML element. |
attribute
static value
bindable
|
null | |
| Position | TooltipPosition | Gets or sets the position of the tooltip. |
attribute
static value
|
Left | |
| TextColor | BootstrapContextualColor |
attribute
static value
bindable
|
None | ||
| Title | String | Gets or sets the text of the tooltip. |
attribute
static value
bindable
|
||
| Visibility | BootstrapVisibility |
attribute
static value
|
None | ||
| Visible | Boolean | Gets or sets whether the control is visible. |
attribute
bindable
|
True |