Is it possible to use compiled binding (x:Bind) with Relative Source, Templated Parent

佐手、 提交于 2019-12-04 17:53:08

RelativeSource (with x:Bind) is not supported, therefore this particular scenario won't be possible (at the moment, at least).

Using TemplateBinding or standard Binding to TemplatedParent (as you mentioned) are workarounds.

TemplateBinding is already an optimized version of Binding so it shouldn't be that big of a deal according to this Build 2015 session by Sam Spencer.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!