Using the XamDockManager from 14.201.20142 I get a "Prefix 'igDock' does not map to a namespace." exception thrown whenever I set the theme to "Office2013". Looking through the samples this is supported and works for your example but not my use case, also all other themes I have tried work fine.
I am using Brian Laguna's region adapter in a document content host so views can be injected via regions, see the below code snippet:
<dockManager:XamDockManager> <igWPF:DocumentContentHost> <dockManager:SplitPane > <dockManager:TabGroupPane x:Name="_tabGroupPaneOne" cal:RegionManager.RegionName="{Binding RegionName}" /> </dockManager:SplitPane> </igWPF:DocumentContentHost>
</dockManager:XamDockManager>
Some improvement with 14.2 in that the behaviour now works but the exceptions are still being throw and swallowed internally, however aside from the untidy output window there is a noticeable negative performance impact vs other themes due to the exceptions and stack unwinding etc.
The errors appear as follows and are generated when calling Activate on the ContentPane for the first time or when adding to a region:
A first chance exception of type 'MS.Internal.Xaml.Parser.GenericTypeNameParser.TypeNameParserException' occurred in System.Xaml.dll
System.Windows.Data Error: 40 : BindingExpression path error: '(igDock:PaneToolWindow.ToolWindow)' property not found on 'object' ''Button' (Name='')'. BindingExpression:Path=(igDock:PaneToolWindow.ToolWindow).WindowState; DataItem='Button' (Name=''); target element is 'Button' (Name=''); target property is 'NoTarget' (type 'Object')
A first chance exception of type 'MS.Internal.Xaml.Parser.GenericTypeNameParser.TypeNameParserException' occurred in System.Xaml.dllSystem.Windows.Data Error: 40 : BindingExpression path error: '(igDock:PaneToolWindow.ToolWindow)' property not found on 'object' ''PaneHeaderPresenter' (Name='')'. BindingExpression:Path=(igDock:PaneToolWindow.ToolWindow).WindowState; DataItem='PaneHeaderPresenter' (Name=''); target element is 'PaneHeaderPresenter' (Name=''); target property is 'NoTarget' (type 'Object')
The error seems to stem from the fact it thinks there is no definition (or a bad definition) of the igDock namespace:
"A first chance exception of type 'MS.Internal.Xaml.Parser.GenericTypeNameParser.TypeNameParserException' occurred in System.Xaml.dll
Additional information: Prefix 'igDock' does not map to a namespace."
Hello Mark,
Were you able to resolve your issue?
Sincerely,Valerie Developer Support Supervisor - XAMLInfragisticswww.infragistics.com/support
I downloaded Brian's region adapter sample from his blog and updated the Infragistics assemblies to point to 14.1. I then set the Theme property on the XamDockManager to Office2013 but was not able to reproduce the issue. The sample built and ran as expected. I have attached the updated project.
Is there anything in your project related to the XamDockManager that differs from the one in Brian's sample? Can you modify Brian's sample to reproduce the issue and send it back to me?