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
50
Best Practice for Styling the XamDockManager
posted

What is the best practice and process for styling the XamDockManager?

I have read the (limited) help topic on styling (http://help.infragistics.com/NetAdvantage/WPF/2008.2/CLR3.x/) and see how I can specify a whole new control template. 

But is that the best way?  If I just want to change the text (color, size, etc.), background color, do I need to create an entirely new template?

For whatever reason, if creating a new template is the way I want to go, what is the procedure?

Should I copy and paste the contents of one of the existing templates (DockManagerOffice2K7Black & DockManagerOffice2K7Black_Brushes) into new files, rename them, modify the portions of their contents I need to, then import them into my project?

 Is there another/better way?

 Thanks for any assistance,

 Damian

  • 1215
    posted
    There is a section in the xamFeatureBrowser that covers a number of common styling samples (xamDockManager > Themes and Custom Styles). Have you stepped through these samples yet?
     
    For complete customization of the Styles/Templates, you will want to start with the source ResourceDictionaries (DockManagerOffice2k7Black, etc.) that you mentioned in your original post. If you have more specific needs in mind, let me know and I will provide more detailed guidance.
     
    -- Grant
     
     
    "ddobosz" wrote in message news:61618@forums.infragistics.com...

    What is the best practice and process for styling the XamDockManager?

    I have read the (limited) help topic on styling (http://help.infragistics.com/NetAdvantage/WPF/2008.2/CLR3.x/) and see how I can specify a whole new control template. 

    But is that the best way?  If I just want to change the text (color, size, etc.), background color, do I need to create an entirely new template?

    For whatever reason, if creating a new template is the way I want to go, what is the procedure?

    Should I copy and paste the contents of one of the existing templates (DockManagerOffice2K7Black & DockManagerOffice2K7Black_Brushes) into new files, rename them, modify the portions of their contents I need to, then import them into my project?

     Is there another/better way?

     Thanks for any assistance,

     Damian



    http://forums.infragistics.com/forums/p/16957/61618.aspx#61618