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
"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
This is a very good topic. It is information we need. Are you going to reply soon?
Tom
Yes, I've stepped through those examples. All they seem to do is allow you to add two different colors and wash the control. We need much more specific control than that.
We would like to be able to style the color of the header text in the various panes; Give the background to those header's a gradient brush; set the style on how the tab looks when collapsed; set the background of the control (the space behind the panes), set the style of the background in the pane, should it's contents not use all of the pane space; customize icons for close, pin, etc. on the header.
Can you provide guidance/an example of how we would do that? Should we create a style that is "BasedOn" an existing style and then override specific properties of the style? If so, could you provide a sample?
thanks,