Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在代码中创建绑定,当用户在选项卡之间导航或创建选项卡时会跳转。
我试图绑定依赖属性活动内容属性,由于某种原因它不起作用。
谢谢。
可能有帮助的是显式设置TwoWay绑定:
TwoWay
<avalondock:DockingManager ActiveContent="{Binding DocumentManager.ActiveDocument, Mode=TwoWay}" />