Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Android 中,我们可以使用在 .xml 文件中定义的选择器。在 Windows Phone 中,我们如何快速实现它?
您可以将图像添加到 Button 的 Content 属性中。
<Button> <Button.Content> <Grid> <Image Name="Normal" Source="Resources/Image.png"/> </Grid> </Button.Content> </Button>