button, which is one of the most common, most commonly used controls, handles click events Handy.
But some of the button's features are often ignored, and here's where button is easy to ignore:
1. Clickmode Property-----Control button in which state the Click event is executed
Button has 3 states, press, hover, release, respectively, corresponding to the press,hover,release.
and click the event clicking, can you set the click event to be triggered when the button is in a certain state? Of course
Setting the Clickmode property value to release indicates that the button's Click event starts when the finger is released.
2. Content Property-----Button's Contents property
Of course, you can set the content value directly, but it belongs to the contents syntax setting property and can be ignored as a property element, as the content of an element object is more
For the exact some. So we can set the button content as pictures, graphics and so on.
What you need to say here is that you can use VS to give us a set of elements, a built-in emoji expression inside the Windows phone or other symbol graphics to fill
The Conten property of the charge button. Here's how:
A. Under the graphical interface, locate the button's Properties window, locate the Content property, and select the symbol graph to see a list of flat
The graphics. Choose the one you need.
B. In the code, indicate:
<Button>
<symbolicon Symbol = "Emoji"/>
</Button>
The use of button imperceptible in Windows Phone 8.1