Introduction: Tooltip is comment or
tips, which is applied on UI control. When user hovers the cursor on that
control, the tooltip is appeared with given comment or tips.
We take a Silverlight application and a button control and write the following
XAML code in editor
<Grid
x:Name="LayoutRoot"
Background="White">
<Button
Content="I
M Button"
Height="22"
ToolTipService.ToolTip="Click
at me"
HorizontalAlignment="Left"
Margin="106,132,0,0"
Name="button1"
VerticalAlignment="Top"
Width="99"
/>
</Grid>
We run our application. Here
we see that when we hover the mouse pointer on button, a tooltip is appeared as
Click at me as like below


Join the conversation! Your thoughts help the community grow.