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.

http://getbootstrap.com/javascript/#tooltips

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
property icon BackgroundColor BootstrapContextualBackgroundColor
attribute
inner element
static value
bindable
default
0
property icon Centered Boolean
attribute
inner element
static value
bindable
default
False
property icon ClearFix Boolean
attribute
inner element
static value
bindable
default
False
property icon ClientIDMode ClientIDMode Gets or sets the client ID generation algorithm.
attribute
inner element
static value
bindable
default
1
property icon 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
inner element
static value
bindable
default
null
property icon Float BootstrapQuickFloat
attribute
inner element
static value
bindable
default
0
property icon ForceHidden Boolean
attribute
inner element
static value
bindable
default
False
property icon ForceShown Boolean
attribute
inner element
static value
bindable
default
False
property icon ID String Gets or sets the unique control ID.
attribute
inner element
static value
bindable
default
null
property icon InnerText String Gets or sets the inner text of the HTML element.
attribute
inner element
static value
bindable
default
null
property icon Position TooltipPosition Gets or sets the position of the tooltip.
attribute
inner element
static value
bindable
default
0
property icon TextColor BootstrapContextualColor
attribute
inner element
static value
bindable
default
0
property icon Title String Gets or sets the text of the tooltip.
attribute
inner element
static value
bindable
default
property icon Visibility BootstrapVisibility
attribute
inner element
static value
bindable
default
0
property icon Visible Boolean Gets or sets whether the control is visible.
attribute
inner element
static value
bindable
default
True

HTML produced by the control