开发者

How to declare a string resource that bound to a property?

开发者 https://www.devze.com 2023-01-19 04:51 出处:网络
As you may know, we can declare a string \"variable\" using开发者_Go百科 resource: <sys:String x:Key=\"someKey\">someValue</sys:String>

As you may know, we can declare a string "variable" using开发者_Go百科 resource:

<sys:String x:Key="someKey">someValue</sys:String>

I want to replace someValue by a binding property, how can I do it?


I don't think its possible. But even then, why do you need to do this. Couldn't your controls just bind to the same string instead of using the resource?

0

精彩评论

暂无评论...
验证码 换一张
取 消