You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if I add Dynamic property in MainWindow idl file , this works fine. otherwise if I comment Dynamic property, the binding will don't work. maybe biding2.Path(PropertyPath(L"Value")); has inernal bug. and if i remove binding path set, it's also works fine.
Believe it is expected that bindings require the metadata to be in the WinMD file to work, which is why this works if you include it in the IDL but not if you don't. If you're using C#, all that's going to happen without having to manage an IDL file. @MikeHillberg and @Scottj1s to confirm.
Assuming so, this is effectively by design for C++ (type metadata is a requirement for binding).
Binding does not work in winrt c++ desktop
binding code in cpp.
idl defined in used component.
if I add
Dynamic
property inMainWindow
idl file , this works fine. otherwise if I commentDynamic
property, the binding will don't work. maybebiding2.Path(PropertyPath(L"Value"));
has inernal bug. and if i remove binding path set, it's also works fine.Test code: https://github.com/shelllet/App1
The text was updated successfully, but these errors were encountered: