Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
190
Contentpane never float by dragging header if I set custom template to it
posted

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 ??

Parents
  • 54937
    Verified Answer
    Offline posted

    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.

Reply Children
No Data