【发布时间】:2014-10-16 10:19:35
【问题描述】:
我有这个 xaml:
<Rectangle x:Name="MyRectangle" Height="{Binding MyCount}" />
我想改为使用我的 C++/CX 代码进行绑定。在 WinJS 中我可以这样做:
datacontext.bind("MyCount", function () { MyRectangle.Height = MyCount; });
C++/CX 中是否有等价物?
【问题讨论】:
标签: xaml windows-runtime winrt-xaml c++-cx