Button 是否有 属性 来存储字符串?
Does Button have property to store a string?
Windows.Form.Button
是否有一些 属性 可用于存储 string
?
谢谢。
您可以使用 Tag
property
myButton.Tag = "Foo";
// ...稍后
string tagInfo = (string)myButton.Tag;
Windows.Form.Button
是否有一些 属性 可用于存储 string
?
谢谢。
您可以使用 Tag
property
myButton.Tag = "Foo";
// ...稍后
string tagInfo = (string)myButton.Tag;