开发者

syntax for binding multiple variables within text

When binding multiple variables value1 value2 value3 in the same text field, do I do this:

text="{some text value1 other text value2 and other text value3}"

or 

text="some text {value1} other text {value2} and other开发者_Python百科 text {value3}"

I noticed both work, but which is the right way to do it and will work all the time.


I would recommend the later for legibility. It also emphasizes which variables should be set Bindable.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜