When I set IGTheme for xamGrid, including
IG.xamGrid.xaml resource dictionary in resources of my application, grid is themed ok, but WPF designer crashes for every window of my application. (Removing the line removes the exception in designer)
I'm using Visual Studio 2012 RC. The exception in designer is:
Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteException
'{DependencyProperty.UnsetValue}' no es un valor válido para la propiedad 'System.Windows.Controls.Control.Template' en Setter.
en System.Windows.Setter.Seal() en System.Windows.SetterBaseCollection.Seal() en System.Windows.Style.Seal() en System.Windows.Style.System.Windows.ISealable.Seal() en System.Windows.StyleHelper.SealIfSealable(Object value) en System.Windows.ResourceDictionary.SealValue(Object value) en System.Windows.ResourceDictionary.SealValues() en System.Windows.ResourceDictionary.AddOwner(DispatcherObject owner) en System.Windows.ResourceDictionary.PropagateParentOwners(ResourceDictionary mergedDictionary) en System.Windows.ResourceDictionary.OnMergedDictionariesChanged(Object sender, NotifyCollectionChangedEventArgs e) en System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e) en System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item) en System.Windows.ResourceDictionaryCollection.InsertItem(Int32 index, ResourceDictionary item) en System.Collections.ObjectModel.Collection`1.Add(T item) en Microsoft.Expression.DesignSurface.View.WPFSceneView.WpfResourceHost.TrySetApplicationResources() en Microsoft.Expression.DesignSurface.View.WPFSceneView.WpfResourceHost.EndInstanceBuilding() en Microsoft.Expression.DesignSurface.View.WPFSceneView.CrossDocumentUpdateToken.System.IDisposable.Dispose() en Microsoft.Expression.Platform.InstanceBuilders.ViewNodeManager.UpdateInstances(IAttachViewRoot siteRoot, IList`1 contextNodes, CancellationToken cancelToken) en Microsoft.Expression.DesignSurface.View.XamlSceneView.UpdateInstancesInternal() en Microsoft.Expression.DesignSurface.View.XamlSceneView.UpdateInternal(Boolean updateInstances, Boolean updateReferences) en Microsoft.Expression.DesignSurface.View.WPFSceneView.UpdateInternal(Boolean updateInstances, Boolean updateReferences) en Microsoft.Expression.DesignSurface.View.XamlSceneView.UpdateFromDamage(ViewStateBits viewStateBits, DocumentNodeChangeList damage, SceneUpdateTypeFlags updateFlags) en Microsoft.Expression.DesignSurface.ViewModel.SceneViewModel.UpdateView(SceneUpdateTypeFlags flags) en Microsoft.Expression.DesignSurface.ViewModel.SceneViewModel.SceneDocument_EditTransactionCompleting(Object sender, EventArgs e) en System.EventHandler`1.Invoke(Object sender, TEventArgs e) en Microsoft.Expression.DesignSurface.Documents.SceneDocument.OnCompletingEditTransaction(Boolean designSurfaceAware, SceneEditTransaction transaction) en Microsoft.Expression.DesignSurface.Pipeline.SceneEditTransaction.Commit(Boolean notifyDocument) en Microsoft.Expression.DesignSurface.DesignerUndoService.CommitPlaceholderTextUndoUnit(Boolean shouldBroadcast) en Microsoft.Expression.DesignSurface.View.SceneView.CommitTextEdits(Boolean forceUpdateIfWarnings) en Microsoft.Expression.DesignSurface.View.SceneView.SynchronizeTextEdits() en Microsoft.Expression.DesignSurface.View.SceneView.StopTimerAndCommitTextEdits() en Microsoft.Expression.DesignSurface.View.SceneView.TextCommitTimeoutTimer_Tick(Object sender, EventArgs e) en System.Windows.Threading.DispatcherTimer.FireTick(Object unused) en System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) en MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) en System.Windows.Threading.DispatcherOperation.InvokeImpl() en System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) en System.Windows.Threading.DispatcherOperation.Invoke() en System.Windows.Threading.Dispatcher.ProcessQueue() en System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) en MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) en MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) en System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) en MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) en System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) en MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) en MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) en System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) en System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) en System.Windows.Threading.Dispatcher.Run() en System.Windows.Application.RunDispatcher(Object ignore) en System.Windows.Application.RunInternal(Window window) en System.Windows.Application.Run(Window window) en System.Windows.Application.Run() en Microsoft.Expression.DesignHost.Isolation.IsolationProcess.RunApplication() en Microsoft.Expression.DesignHost.Isolation.IsolationProcess.<>c__DisplayClass2.<Main>b__0() en System.Threading.ThreadHelper.ThreadStart_Context(Object state) en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) en System.Threading.ThreadHelper.ThreadStart()
Hello Isidoro,
Could you please check what is the specific version of the controls that you use and if it is not 12.1.20121.2059 I can suggest you update it by logging to our web site and going to Account \Keys & Downloads.
Looking forward for your reply.
I'm using:
- Visual Studio Professional 2012 RC, Version 11.0.50706.0 QRELRC july 2012, in spanish.
- Microsoft .NET Framework 4.5.50501
- Infragistics NetAdvantage 2012.1
Thanks
Hello Isidoro Aquilera,
We are still following this forum thread.Have you been able to take a look at your visual studio specifications?
Please feel free to let us know if you still have any questions or concerns with this matter.
Could you please send me more information about the version of your VS and the installed updates? Just go on "Help" -> "About Microsoft Visual Studio" and clik "Copy Info" button.
I opened yor project with Visual Studio 2012 and obtained the exception in the design view. I attached a screenshot. Maybe I have problems because I'm using spanish version of Visual Studio?