【发布时间】:2017-01-17 07:41:30
【问题描述】:
我不知道他们为什么决定将Mode 的默认值设置为OneTime 但这不是我大多数时候想要的。它浪费了我一整天的调试时间。
有没有办法将OneWay 值设置为Mode 的x:Bind 的默认值?
<!--This will not listen to future changes. it is OneTime by default-->
<TextBlock Text="{x:Bind Name}"/>
<!--We have to explicitly define Mode value-->
<TextBlock Text="{x:Bind Name, Mode=OneWay}"/>
【问题讨论】:
标签: xaml uwp windows-10 xbind