I've just upgraded the Actipro controls on a project from 2009.1 to 2011.1 (I know a big jump). The app is heavily themed so the first problem I'm running into is changes to style keys and the control templates for these controls, specifically those found in ActiproSoftware.Windows.Controls.Docking.Themes.
Now before I go into the details let me start by saying I've done little more than triage when it comes to theming. The original author of the theme for our app is no longer with us. I am hoping to get the app up and running again with a little triage and then fix any of the new stuff that is unthemed later. And of course I may be going about this the wrong way so by all means please redirect me if there is a better way.
So on to the problem... It looks like the control templates are targeted via a style key -- it's that key that appears to have changed:"ToolWindowStyleKey" is no longer a member of DockingCommonDictionary and I can't find anything similar to it in DockingCommonDictionary. The same goes for:
Thanks for the help.
Now before I go into the details let me start by saying I've done little more than triage when it comes to theming. The original author of the theme for our app is no longer with us. I am hoping to get the app up and running again with a little triage and then fix any of the new stuff that is unthemed later. And of course I may be going about this the wrong way so by all means please redirect me if there is a better way.
So on to the problem... It looks like the control templates are targeted via a style key -- it's that key that appears to have changed:
<Style x:Key="{x:Static dockingThemes:DockingCommonDictionary.ToolWindowStyleKey}" TargetType="{x:Type docking:ToolWindow}" BasedOn="{StaticResource {x:Type docking:DockingWindow}}">
<Setter Property="Background" Value="{DynamicResource {x:Static dockingThemes:DockingCommonDictionary.ToolWindowTabBackgroundNormalBrushKey}}" />
<Setter Property="BorderBrush" Value="{DynamicResource {x:Static dockingThemes:DockingCommonDictionary.ToolWindowTabBorderNormalBrushKey}}" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="Foreground" Value="{DynamicResource {x:Static dockingThemes:DockingCommonDictionary.ToolWindowTabForegroundNormalBrushKey}}" />
<Setter Property="Margin" Value="0,0,-1,2" />
<Setter Property="Padding" Value="2,2,4,2" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="docking:ToolWindow">
- TabbedMdiDocumentStyleKey
StandardMdiDocumentStyleKey
Thanks for the help.