4

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.

user1300371
  • 43
  • 1
  • 4

1 Answers1

11

What may help is to explicitly set a TwoWay binding:

<avalondock:DockingManager ActiveContent="{Binding DocumentManager.ActiveDocument,
                                                   Mode=TwoWay}" />
slavoo
  • 5,798
  • 64
  • 37
  • 39
pbalaga
  • 2,018
  • 1
  • 21
  • 33