Click here to Skip to main content
15,891,513 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Accept Button and Data Binding inconsistency Pin
Bernhard Hiller5-Jul-12 2:56
Bernhard Hiller5-Jul-12 2:56 
GeneralRe: Accept Button and Data Binding inconsistency Pin
Pete O'Hanlon5-Jul-12 9:38
mvePete O'Hanlon5-Jul-12 9:38 
QuestionWPF Cascading filters Pin
Ross Cain4-Jul-12 8:45
Ross Cain4-Jul-12 8:45 
QuestionBinding Tooltip to template element Pin
Blikkies4-Jul-12 3:31
professionalBlikkies4-Jul-12 3:31 
AnswerRe: Binding Tooltip to template element Pin
Pete O'Hanlon4-Jul-12 3:40
mvePete O'Hanlon4-Jul-12 3:40 
GeneralRe: Binding Tooltip to template element Pin
Blikkies4-Jul-12 4:01
professionalBlikkies4-Jul-12 4:01 
GeneralRe: Binding Tooltip to template element Pin
Pete O'Hanlon4-Jul-12 4:16
mvePete O'Hanlon4-Jul-12 4:16 
AnswerRe: Binding Tooltip to template element Pin
vinodkrebc6-Jul-12 0:59
vinodkrebc6-Jul-12 0:59 
Hi You can create a custom control based on what control you are using as parent. If you are using ListBox it would be like below

C#
public class CustomListBox : ListBox
   {
       public object ToolTip
       {
           get
           {
               return ToolTipService.GetToolTip(this);
           }
       }
   }

You xaml will look like below
XML
<local:CustomListBox ItemsSource="{Binding Path=CustomerList}"
                             ToolTipService.ToolTip="Your Tooltip"
                             x:Name="lstParent">
            <local:CustomListBox.ItemTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding Path=ToolTip, ElementName=lstParent}" />
                </DataTemplate>
            </local:CustomListBox.ItemTemplate>
        </local:CustomListBox>

Let me know if it works.
http://www.exploresilverlight.com
Cheers!
Vinod
Vinod

GeneralWPF Button Image Source Pin
Kevin Marois2-Jul-12 11:47
professionalKevin Marois2-Jul-12 11:47 
GeneralRe: WPF Button Image Source Pin
Unnikrishnan_S_N3-Jul-12 2:14
Unnikrishnan_S_N3-Jul-12 2:14 
GeneralRe: WPF Button Image Source Pin
Kevin Marois5-Jul-12 11:01
professionalKevin Marois5-Jul-12 11:01 
GeneralRe: WPF Button Image Source Pin
Unnikrishnan_S_N8-Jul-12 19:50
Unnikrishnan_S_N8-Jul-12 19:50 
GeneralWPF Button Style Problem Pin
Kevin Marois2-Jul-12 11:31
professionalKevin Marois2-Jul-12 11:31 
QuestionStyle Error Pin
Kevin Marois29-Jun-12 7:51
professionalKevin Marois29-Jun-12 7:51 
AnswerRe: Style Error Pin
Gerry Schmitz29-Jun-12 11:06
mveGerry Schmitz29-Jun-12 11:06 
GeneralRe: Style Error Pin
Kevin Marois29-Jun-12 11:10
professionalKevin Marois29-Jun-12 11:10 
AnswerRe: Style Error Pin
Richard MacCutchan29-Jun-12 21:17
mveRichard MacCutchan29-Jun-12 21:17 
GeneralBest Way To Design This Pin
Kevin Marois29-Jun-12 7:31
professionalKevin Marois29-Jun-12 7:31 
GeneralRe: Best Way To Design This Pin
Abhinav S1-Jul-12 7:22
Abhinav S1-Jul-12 7:22 
GeneralRe: Best Way To Design This Pin
Unnikrishnan_S_N3-Jul-12 20:14
Unnikrishnan_S_N3-Jul-12 20:14 
QuestionDefault font name of Silverlight XAML Pages Pin
yesu prakash29-Jun-12 0:24
yesu prakash29-Jun-12 0:24 
AnswerRe: Default font name of Silverlight XAML Pages Pin
Jeremy Hutchinson29-Jun-12 7:31
professionalJeremy Hutchinson29-Jun-12 7:31 
AnswerRe: Default font name of Silverlight XAML Pages Pin
Abhinav S1-Jul-12 6:22
Abhinav S1-Jul-12 6:22 
QuestionFooter in Silverlight DataGrid Pin
Sudhir Kumar Srivastava lko28-Jun-12 23:58
Sudhir Kumar Srivastava lko28-Jun-12 23:58 
AnswerRe: Footer in Silverlight DataGrid Pin
Abhinav S1-Jul-12 4:01
Abhinav S1-Jul-12 4:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.