Windows Phone 7 Image Button

后端 未结 7 1816
抹茶落季
抹茶落季 2021-02-05 12:19

I need to create an Image Button for my application like web-oriented style. I have an image 20x20 pixel and want an image button with the same dimension of the image.

I

7条回答
  •  悲哀的现实
    2021-02-05 12:42

    I think the best solution is the following:

    
    

    Using manipulation started will result in subtly non-standard behaviour. On most buttons if you click on it but then drag off, the button click will not fire. However, if you use ManipulationStarted it will fire immediately.

    The best way to manage these design time considerations is to use Expression Blend. In blend you can right click on the button and edit the template through the design tools, which makes knowing how to edit the xaml less important. It's really worth the effort to learn to use Blend.

提交回复
热议问题