Set ToolTip Placement, ShowDuration, VerticalOffset : ToolTip « Windows Presentation Foundation « C# / CSharp Tutorial

Home
C# / CSharp Tutorial
1.Language Basics
2.Data Type
3.Operator
4.Statement
5.String
6.struct
7.Class
8.Operator Overload
9.delegate
10.Attribute
11.Data Structure
12.Assembly
13.Date Time
14.Development
15.File Directory Stream
16.Preprocessing Directives
17.Regular Expression
18.Generic
19.Reflection
20.Thread
21.I18N Internationalization
22.LINQ
23.GUI Windows Forms
24.Windows Presentation Foundation
25.Windows Communication Foundation
26.Workflow
27.2D
28.Design Patterns
29.Windows
30.XML
31.XML LINQ
32.ADO.Net
33.Network
34.Directory Services
35.Security
36.unsafe
C# / C Sharp
C# / C Sharp by API
C# / CSharp Open Source
C# / CSharp Tutorial » Windows Presentation Foundation » ToolTip 
24.50.11.Set ToolTip Placement, ShowDuration, VerticalOffset
<Window x:Class="WpfApplication1.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="WPF" Height="200" Width="300">
    <StackPanel>
        <Button Height="40" Margin="5" ToolTipService.HorizontalOffset="5cm" 
                ToolTipService.Placement="Relative" 
                ToolTipService.ShowDuration="10000" 
                ToolTipService.VerticalOffset="50px">
            <Button.ToolTip>
                <ToolTip >
                    ToolTip displayed for 10 seconds...
                </ToolTip>
            </Button.ToolTip>
            Button with offset ToolTip
        </Button>
    </StackPanel>
</Window>
WPF Set Tool Tip Placement Show Duration Vertical Offset
24.50.ToolTip
24.50.1.ToolTip for BorderToolTip for Border
24.50.2.Using ToolTip for TextBox with TextBox.ToolTip and ToolTip tagUsing ToolTip for TextBox with TextBox.ToolTip and ToolTip tag
24.50.3.Add ToolTip text to a TextBoxAdd ToolTip text to a TextBox
24.50.4.ToolTipService.InitialShowDelayToolTipService.InitialShowDelay
24.50.5.ToolTip with ImageToolTip with Image
24.50.6.ToolTipService.Placement='Bottom'ToolTipService.Placement='Bottom'
24.50.7.ToolTip with List itemsToolTip with List items
24.50.8.A Tool Tip on a Disabled ControlA Tool Tip on a Disabled Control
24.50.9.Disabled Button with ToolTipServiceDisabled Button with ToolTipService
24.50.10.Control the Display Duration and Position of a Tool TipControl the Display Duration and Position of a Tool Tip
24.50.11.Set ToolTip Placement, ShowDuration, VerticalOffsetSet ToolTip Placement, ShowDuration, VerticalOffset
24.50.12.Set ToolTipService.Placement='Center'Set ToolTipService.Placement='Center'
24.50.13.Set drop shadow for a ToolTipSet drop shadow for a ToolTip
24.50.14.Add Image to ToolTipAdd Image to ToolTip
24.50.15.Set border for ToolTip by using ControlTemplateSet border for ToolTip by using ControlTemplate
24.50.16.Complex ToolTipComplex ToolTip
24.50.17.ToolTip With BindingToolTip With Binding
24.50.18.Create ToolTip and set text string as content
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.