How to specify a ToolTip for a control in a Style from XAML?

后端 未结 6 1731
面向向阳花
面向向阳花 2021-02-13 09:44

I\'m using a the WPF datagrid from the Microsoft CodePlex project. I have a custom control that I want to databind to a field from the row of the datagrid. I can\'t for the life

6条回答
  •  北海茫月
    2021-02-13 10:24

    There's no need for the ControlTemplate. If you want the StackPanel in the ToolTip, just set it as:

    
        
            
                txt1txt2
            
        
    
    

提交回复
热议问题