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
165
How to change the style of the content pane header?
posted

How to change the style of the content pane header?

Is there any way to change the size of it with restyling it.

Parents
No Data
Reply
  • 54937
    Offline posted

    I'm not exactly sure what you are trying to do but basically there are several ways of dictating the size of the PaneHeaderPresenter (or any element really). One is to retemplate the containing element (the ContentPane in this case) and use the WPF layout mechanisms to control the size (e.g. set the Width of the PaneHeaderPresenter within the CP's template). Another is to provide a style for the element (the PaneHeaderPresenter in this case) that sets the Height/Width/MinWidth/etc in setters for the PaneHeaderPresenter.

Children