Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

active content property on tab change

Tags:

avalondock

I want to create binding in code that will jump when the user is navigating between tabs, or when ever a tab is created.

I tried to bind the dependency property active content property, and from some reason it doesn't work.

thanks.

like image 700
user1300371 Avatar asked Dec 22 '22 00:12

user1300371


1 Answers

What may help is to explicitly set a TwoWay binding:

<avalondock:DockingManager ActiveContent="{Binding DocumentManager.ActiveDocument,
                                                   Mode=TwoWay}" />
like image 140
pbalaga Avatar answered Jan 10 '23 23:01

pbalaga