What is the best way to simulate a Click with MouseUp & MouseDown events or otherwise?

前端 未结 5 724
天涯浪人
天涯浪人 2020-11-30 02:17

In WPF most controls have MouseUp and MouseDown events (and the mouse-button-specific variations) but not a simple Click event that ca

5条回答
  •  清歌不尽
    2020-11-30 02:30

    I would use a Button control and overwrite the Button.Template to just show the content directly.

    
        
    
    
    
    

提交回复
热议问题