Hi, everyone. I need your help.
First of all, my English is not good,,, , very sorry.
I use DockManager, and I'd like to change the design of it.
Almost all components work well after applying custom template, but ContentPane is not.
Once I set Template Property of ContentPane, I cant float panes by daragging header ( title bar).
I don't add/delete any codes and I set template using Blend 3 ( so i really write/delete no code).
Is it impossible to apply custom template to ContentPane ??
Dragging a pane is performed by dragging the PaneHeaderPresenter within it. I'm guessing that you're either not using that element or it's not hittestable or it's not set up right. If you do have that element make sure that you set its DataContext to the ContentPane itself. You should probably just use the default xaml that we ship with the product (included in the DefaultStyles directory) as the starting point for templates that you create.
Smith,
Thank you very much ! I could do my misson !
As you said, the problem was DataContext. I don't know why, but Copied Template using Blend didn't copied Template property.
Again, thank you for your help!