Click here to Skip to main content
15,889,872 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: How can we change date in datepicker on selecting different country culture in combo box in MVVM? Pin
Pete O'Hanlon13-Apr-15 0:42
mvePete O'Hanlon13-Apr-15 0:42 
GeneralRe: How can we change date in datepicker on selecting different country culture in combo box in MVVM? Pin
Member 1142836714-Apr-15 18:16
Member 1142836714-Apr-15 18:16 
QuestionMFC CDialog hosting WPF components Pin
Member 88339813-Apr-15 4:34
Member 88339813-Apr-15 4:34 
QuestionDataGridComboBoxColumn - Combo Doesn't Show Pin
Kevin Marois1-Apr-15 8:57
professionalKevin Marois1-Apr-15 8:57 
AnswerRe: DataGridComboBoxColumn - Combo Doesn't Show Pin
Mycroft Holmes1-Apr-15 14:23
professionalMycroft Holmes1-Apr-15 14:23 
AnswerRe: EF Autoupdate Pin
Mycroft Holmes1-Apr-15 14:18
professionalMycroft Holmes1-Apr-15 14:18 
GeneralRe: EF Autoupdate Pin
Mycroft Holmes6-Apr-15 12:38
professionalMycroft Holmes6-Apr-15 12:38 
QuestionWPF migration frame work 3.5 to 4.5 framework Pin
karthikchinnu30-Mar-15 8:37
karthikchinnu30-Mar-15 8:37 
Hi All,
we have done application using WPF .Net framework 3.5.Now I want to migrate application to .Net framework 4.5 but application building successfully.I am not able to see the design (XAML) part.
In Xaml showing many errors as below.Could you please help me out.Thanks in advance
System.ArgumentException
'{DependencyProperty.UnsetValue}' is not a valid value for the 'System.Windows.Controls.Image.Source' property on a Setter.
at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.WaitForCompletion(NestedCallContext nestedCallContext, BlockingCall call, WaitHandle timeoutSignal)
at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalOutSynchronous(Action action, Int32 targetApartmentId, WaitHandle aborted, WaitHandle timeoutSignal)
at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalOut(Action action, Int32 targetApartmentId, WaitHandle aborted, CallSynchronizationMode syncMode, WaitHandle timeoutSignal)
at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TValue](RemoteHandle`1 targetObject, Action action, CallSynchronizationMode syncMode)
at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TResult,TValue](RemoteHandle`1 targetObject, Func`2 func, CallSynchronizationMode syncMode)
at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.CreateDesignerImpl(IHostSourceItem item, IHostTextEditor editor, RemoteCancellationToken remoteCancelToken)
at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.<>c__DisplayClass12.<microsoft.expression.designhost.idesignerservice.createdesigner>b__11(RemoteCancellationToken remoteToken)
at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.CallWithCancellation[TResult](CancellationToken cancelToken, Func`2 func)
at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.Microsoft.Expression.DesignHost.IDesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor, CancellationToken cancelToken)
at Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)

System.ArgumentException
'{DependencyProperty.UnsetValue}' is not a valid value for the 'System.Windows.Controls.Image.Source' property on a Setter.

Server stack trace:
at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.WaitForCompletion(NestedCallContext nestedCallContext, BlockingCall call, WaitHandle timeoutSignal)
at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalIn(Action action, Int32 targetApartmentId)
at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalIn(IRemoteObject targetObject, Action action)
at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalIn[TResult](IRemoteObject targetObject, Func`1 func)
at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostSourceItem remoteItem, IRemoteHostTextEditor remoteEditor, IRemoteCancellationToken remoteToken)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostSourceItem remoteItem, IRemoteHostTextEditor remoteEditor, IRemoteCancellationToken cancelToken)
at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.<>c__DisplayClass8.<createdesignerimpl>b__6(IRemoteDesignerService d)
at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass4`2.<marshalout>b__3()
at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()

System.ArgumentException
'{DependencyProperty.UnsetValue}' is not a valid value for the 'System.Windows.Controls.Image.Source' property on a Setter.
at System.Windows.Setter.Seal()
at System.Windows.SetterBaseCollection.Seal()
at System.Windows.TriggerBase.ProcessSettersCollection(SetterBaseCollection setters)
at System.Windows.Trigger.Seal()
at System.Windows.TriggerCollection.Seal()
at System.Windows.StyleHelper.SealTemplate(FrameworkTemplate frameworkTemplate, Boolean& isSealed, FrameworkElementFactory templateRoot, TriggerCollection triggers, ResourceDictionary resources, HybridDictionary childIndexFromChildID, FrugalStructList`1& childRecordFromChildIndex, FrugalStructList`1& triggerSourceRecordFromChildIndex, FrugalStructList`1& containerDependents, FrugalStructList`1& resourceDependents, ItemStructList`1& eventDependents, HybridDictionary& triggerActions, HybridDictionary& dataTriggerRecordFromBinding, Boolean& hasInstanceValues, EventHandlersStore& eventHandlersStore)
at System.Windows.FrameworkTemplate.Seal()
at System.Windows.FrameworkTemplate.System.Windows.ISealable.Seal()
at System.Windows.StyleHelper.SealIfSealable(Object value)
at System.Windows.ResourceDictionary.SealValue(Object value)
at System.Windows.ResourceDictionary.SealValues()
at System.Windows.ResourceDictionary.AddOwner(DispatcherObject owner)
at System.Windows.ResourceDictionary.PropagateParentOwners(ResourceDictionary mergedDictionary)
at System.Windows.ResourceDictionary.OnMergedDictionariesChanged(Object sender, NotifyCollectionChangedEventArgs e)
at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
at System.Windows.ResourceDictionaryCollection.InsertItem(Int32 index, ResourceDictionary item)
at System.Collections.ObjectModel.Collection`1.Add(T item)
at Microsoft.Expression.DesignSurface.View.WPFSceneView.WpfResourceHost.TrySetApplicationResources()
at Microsoft.Expression.DesignSurface.View.WPFSceneView.WpfResourceHost.EndInstanceBuilding()
at Microsoft.Expression.DesignSurface.View.WPFSceneView.CrossDocumentUpdateToken.System.IDisposable.Dispose()
at Microsoft.Expression.Platform.InstanceBuilders.ViewNodeManager.UpdateInstances(IAttachViewRoot siteRoot, IList`1 contextNodes, CancellationToken cancelToken)
at Microsoft.Expression.DesignSurface.View.XamlSceneView.UpdateInstancesInternal()
at Microsoft.Expression.DesignSurface.View.XamlSceneView.UpdateInternal(Boolean updateInstances, Boolean updateReferences)
at Microsoft.Expression.DesignSurface.View.WPFSceneView.UpdateInternal(Boolean updateInstances, Boolean updateReferences)
at Microsoft.Expression.DesignSurface.View.XamlSceneView.Update(Boolean updateReferences)
at Microsoft.Expression.DesignSurface.View.ViewUpdateManager.UpdateInvalidRelatedDocuments(SceneView view)
at Microsoft.Expression.DesignSurface.View.XamlSceneView.EnsureActiveViewUpdated()
at Microsoft.Expression.DesignSurface.View.WPFSceneView.EnsureActiveViewUpdated()
at Microsoft.Expression.DesignSurface.View.XamlSceneView.SetVisible(Boolean visible)
at Microsoft.Expression.DesignSurface.View.WPFSceneView.SetVisible(Boolean visible)
at Microsoft.Expression.DesignSurface.DocumentViewContext.CreateAndOpenView(ISourceItemContext sourceItem, CancellationToken cancelToken, Boolean activate, Boolean ensureOpenInHost, Boolean suppressUI)
at Microsoft.Expression.DesignSurface.DesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor, CancellationToken cancelToken)
at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.<>c__DisplayClass10.<>c__DisplayClass12.<microsoft.expression.designhost.isolation.remoting.iremotedesignerservice.createdesigner>b__f(CancellationToken cancelToken)
at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.CallWithCancellation[TResult](IRemoteCancellationToken remoteToken, Func`2 func)
at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.<>c__DisplayClass10.<microsoft.expression.designhost.isolation.remoting.iremotedesignerservice.createdesigner>b__e()
at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass16`1.<marshalin>b__15()
at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()
AnswerRe: WPF migration frame work 3.5 to 4.5 framework Pin
Gerry Schmitz30-Mar-15 11:43
mveGerry Schmitz30-Mar-15 11:43 
AnswerRe: WPF migration frame work 3.5 to 4.5 framework Pin
Praveen Raghuvanshi5-Apr-15 7:18
professionalPraveen Raghuvanshi5-Apr-15 7:18 
QuestionWPF Image Edit Control Required Pin
TheBabbler26-Mar-15 22:18
TheBabbler26-Mar-15 22:18 
AnswerRe: WPF Image Edit Control Required Pin
Gerry Schmitz30-Mar-15 11:35
mveGerry Schmitz30-Mar-15 11:35 
GeneralRe: WPF Image Edit Control Required Pin
TheBabbler30-Mar-17 2:49
TheBabbler30-Mar-17 2:49 
GeneralRe: WPF Image Edit Control Required Pin
Gerry Schmitz30-Mar-17 6:52
mveGerry Schmitz30-Mar-17 6:52 
QuestionVS2012 Start Page Template Pin
Kevin Marois19-Mar-15 10:29
professionalKevin Marois19-Mar-15 10:29 
AnswerRe: VS2012 Start Page Template Pin
Afzaal Ahmad Zeeshan25-Mar-15 3:52
professionalAfzaal Ahmad Zeeshan25-Mar-15 3:52 
AnswerRe: VS2012 Start Page Template Pin
Richard MacCutchan25-Mar-15 5:39
mveRichard MacCutchan25-Mar-15 5:39 
GeneralRe: VS2012 Start Page Template Pin
zephaneas25-Mar-15 5:47
zephaneas25-Mar-15 5:47 
GeneralRe: VS2012 Start Page Template Pin
Richard MacCutchan25-Mar-15 6:29
mveRichard MacCutchan25-Mar-15 6:29 
GeneralRe: VS2012 Start Page Template Pin
zephaneas25-Mar-15 6:34
zephaneas25-Mar-15 6:34 
GeneralRe: VS2012 Start Page Template Pin
Richard MacCutchan25-Mar-15 7:56
mveRichard MacCutchan25-Mar-15 7:56 
QuestionVS 2012 Start Page Problem Pin
Kevin Marois19-Mar-15 10:29
professionalKevin Marois19-Mar-15 10:29 
AnswerRe: VS 2012 Start Page Problem Pin
Afzaal Ahmad Zeeshan25-Mar-15 3:54
professionalAfzaal Ahmad Zeeshan25-Mar-15 3:54 
GeneralRe: VS 2012 Start Page Problem Pin
Kevin Marois25-Mar-15 4:00
professionalKevin Marois25-Mar-15 4:00 
QuestionHow to display a PDF file in WPF form Pin
Kandepu Rajesh19-Mar-15 6:19
Kandepu Rajesh19-Mar-15 6:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.