wpf: how to show tooltip when button disabled by command?

前端 未结 3 1676
感动是毒
感动是毒 2021-01-30 02:00

I\'m trying to show a tooltip regardless of a buttons state, but this does not seem to do the trick:

3条回答
  •  一个人的身影
    2021-01-30 02:34

    Make tooltip visible for ALL disabled Buttons and Checkboxes:

    
        
        
    
    

    The BasedOn=... prevents that you loose any other styles that have been applied to checkbox or button before. If you dont use any other styles for button or checkbox you can remove the BasedOn=.. parts

提交回复
热议问题