DOT

VVM

 DOCS

Version: 1.0 | 1.1 |

Tooltip

in namespace DotVVM.Framework.Controls.Bootstrap

Adds Bootstrap Tooltip to inner element or control.

Properties

Name Type Description Notes Default Value
Attributes Dictionary<String,Object>
attribute
inner element
static value
bindable
default
BackgroundColor BootstrapContextualBackgroundColor
attribute
inner element
static value
bindable
default
None
Centered Boolean
attribute
inner element
static value
bindable
default
False
ClearFix Boolean
attribute
inner element
static value
bindable
default
False
ClientIDMode ClientIDMode Gets or sets the client ID generation algorithm.
attribute
inner element
static value
bindable
default
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
inner element
static value
bindable
default
Float BootstrapQuickFloat
attribute
inner element
static value
bindable
default
None
ForceHidden Boolean
attribute
inner element
static value
bindable
default
False
ForceShown Boolean
attribute
inner element
static value
bindable
default
False
ID String Gets or sets the unique control ID.
attribute
inner element
static value
bindable
default
InnerText String Gets or sets the inner text of the HTML element.
attribute
inner element
static value
bindable
default
Position TooltipPosition Gets or sets the position of the tooltip.
attribute
inner element
static value
bindable
default
Left
TextColor BootstrapContextualColor
attribute
inner element
static value
bindable
default
None
Title String Gets or sets the text of the tooltip.
attribute
inner element
static value
bindable
default
Visibility BootstrapVisibility
attribute
inner element
static value
bindable
default
None
Visible Boolean Gets or sets whether the control is visible.
attribute
inner element
static value
bindable
default
True

Events

Name Type Description

Usage & Scenarios

Adds the Bootstrap Tooltip to an element or control.

https://getbootstrap.com/docs/3.3/javascript/#tooltips

HTML Rendered by the 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>

Suggestions


Help & Contribute

The documentation is maintained on GitHub.
We'll be happy if you edit the page and create a pull request.

Send message