ToolTip with List items : ToolTip « Windows Presentation Foundation « C# / C Sharp

Home
C# / C Sharp
1.2D Graphics
2.Class Interface
3.Collections Data Structure
4.Components
5.Data Types
6.Database ADO.net
7.Design Patterns
8.Development Class
9.Event
10.File Stream
11.Generics
12.GUI Windows Form
13.Language Basics
14.LINQ
15.Network
16.Office
17.Reflection
18.Regular Expressions
19.Security
20.Services Event
21.Thread
22.Web Services
23.Windows
24.Windows Presentation Foundation
25.XML
26.XML LINQ
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source
C# / C Sharp » Windows Presentation Foundation » ToolTipScreenshots 
ToolTip with List items
ToolTip with List items
     

<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="150" Width="300">
    <StackPanel Name="stackPanel1">
        <Button Content="Button with a Richer ToolTip" Height="23" 
                Margin="10" Name="button2" Width="175">
            <Button.ToolTip>
                <StackPanel Name="stackPanel2" Width="200">
                    <Label Name="label1" HorizontalAlignment="Left">
                        List of Things:
                    </Label>
                    <ListBox Name="listBox1" Margin="10" >
                        <ListBoxItem>Thing 1</ListBoxItem>
                        <ListBoxItem>Thing 2</ListBoxItem>
                        <ListBoxItem>Thing 3</ListBoxItem>
                    </ListBox>
                </StackPanel>
            </Button.ToolTip>
        </Button>

    </StackPanel>
</Window>

   
    
    
    
    
  
Related examples in the same category
1.ToolTip for BorderToolTip for Border
2.Using ToolTip for TextBox with TextBox.ToolTip and ToolTip tagUsing ToolTip for TextBox with TextBox.ToolTip and ToolTip tag
3.Add ToolTip text to a TextBoxAdd ToolTip text to a TextBox
4.ToolTipService.InitialShowDelayToolTipService.InitialShowDelay
5.ToolTip with ImageToolTip with Image
6.ToolTipService.Placement="Bottom"ToolTipService.Placement=
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
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.