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
180
How to change the background & forecolor of Content Pane Header
posted

I want to change the background the forecolor fo content Pane Header when it is displayed inside toolwindow.

Can you pls point me to the brush/style for the same?

  • 138253
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking through it and I suggest you use the following style for the PaneHeaderPresenter:

     

                <Style TargetType="{x:Type igDock:PaneHeaderPresenter}">
                    <Setter Property="Foreground" Value="Red"/>
                    <Setter Property="Background" Value="YellowGreen"/>
                </Style>
    

     

    You can also add trigger to check if the pane is docked or set to AutoHide and then set the Foreground and Background colors.

     

    Looking forward fort your reply.

  • 180
    posted

    any pointer?