Using ToolTip for TextBox with TextBox.ToolTip and ToolTip tag : ToolTip « Windows Presentation Foundation « C# / C Sharp






Using ToolTip for TextBox with TextBox.ToolTip and ToolTip tag

Using ToolTip for TextBox with TextBox.ToolTip and ToolTip tag
     

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      HorizontalAlignment="Center" VerticalAlignment="Center">

<TextBox Width="100">
  <TextBox.ToolTip>
    <ToolTip Content="Type something here" />
  </TextBox.ToolTip>
</TextBox>

</Page>

   
    
    
    
    
  








Related examples in the same category

1.ToolTip for BorderToolTip for Border
2.Add ToolTip text to a TextBoxAdd ToolTip text to a TextBox
3.ToolTipService.InitialShowDelayToolTipService.InitialShowDelay
4.ToolTip with ImageToolTip with Image
5.ToolTipService.Placement="Bottom"ToolTipService.Placement=
6.ToolTip with List itemsToolTip with List items
7.A Tool Tip on a Disabled ControlA Tool Tip on a Disabled Control
8.Disabled Button with ToolTipServiceDisabled Button with ToolTipService
9.Control the Display Duration and Position of a Tool TipControl the Display Duration and Position of a Tool Tip
10.Set ToolTip Placement, ShowDuration, VerticalOffsetSet ToolTip Placement, ShowDuration, VerticalOffset
11.Set ToolTipService.Placement="Center"Set ToolTipService.Placement=
12.Set drop shadow for a ToolTipSet drop shadow for a ToolTip
13.Add Image to ToolTipAdd Image to ToolTip
14.Set border for ToolTip by using ControlTemplateSet border for ToolTip by using ControlTemplate
15.Complex ToolTipComplex ToolTip
16.ToolTip With BindingToolTip With Binding