【问题标题】:How to set Button label in Windows Phone如何在 Windows Phone 中设置按钮标签
【发布时间】:2013-01-13 05:01:12
【问题描述】:

如何在 Windows Phone 中设置 Button 标签?我找不到 text 属性或类似的东西。

【问题讨论】:

  • Button的Property Content对此负责。

标签: c# windows-phone-7 button


【解决方案1】:
Button.Content = "Your Label";

<Button Content="Your Label"/>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多