admin管理员组文章数量:1418305
I'm creting as new multiplatform app with uno platform 5 and net9, I modified the example given and worked ok with static values, but when I tried to use x:Bind throw this error:
Cannot resolve type ":Bind".
My code:
<ContentView xmlns=";
xmlns:x=";
x:Class="MauiControls.MyControl"
x:Name="contentView">
<VerticalStackLayout ...>
<Label Text="{x:Bind Name}"/>
...
Using Binding works ok {Binding Name, Source = {x:Reference contentView}}
, but I would like to use x:Bind due execution improvements and the strong types, also here says that Uno supports x:Bind /docs/articles/features/windows-ui-xaml-xbind.html.
Windows 11
Visual studio 17.12.4
net 9.0.102
Uno.Sdk 5.6.20
Uno Platform Check v1.28.3.0 (all ok)
本文标签:
版权声明:本文标题:Uno platform 5 and x:Bind throws Cannot resolve type "http:schemas.microsoft.comwinfx2009xaml:Bind" - Stack Ov 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745283481a2651563.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论