''' <summary> |
''' Handles displaying and replying to any received command messages |
''' </summary> |
''' <param name="message"></param> |
''' <remarks></remarks> |
Private Sub HandleCommandMessage(ByVal message As CommandMessage) |
If Not IsNothing(message) Then 'AndAlso message.Sender.GetType() Is GetType(MainViewModel) Then |
' Check if we are running on the UI thread. If not, call begin invoke |
If Not _dispatcher.CheckAccess Then |
_dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, _ |
New Action(Of CommandMessage)(AddressOf HandleCommandMessage), message) |
Else |
Select Case message.Command |
Case Messages.ViewMessages.ShowDiagnosticsView.ToString() |
If IsNothing(_diagWindow) Then |
_diagWindow = New DiagnosticsView |
_diagWindow.Owner = Me |
_diagWindow.DataContext = Me.ViewModel.DiagViewModel |
_diagWindow.Show() |
End If |
Case Messages.ViewMessages.CloseDiagnosticView.ToString() |
If Not IsNothing(_diagWindow) Then |
_diagWindow.Close() |
_diagWindow = Nothing |
End If |
'... |
Case Else |
End Select |
End If |
End If |
End Sub |
<!-- ... --> |
<telerik:RadMenuItem Header="Tools"> |
<telerik:RadMenuItem Header="Diagnostics" Command="{Binding Path=ShowDiagnosticsViewCommand}" /> |
</telerik:RadMenuItem> |
<!-- ... ---> |
/// <summary> |
/// Returns a command that opens the image view. |
/// </summary> |
public ICommand ShowDiagnosticsViewCommand |
{ |
get |
{ |
if (_showDiagnosticsViewCommand == null) |
{ |
_showDiagnosticsViewCommand = new RelayCommand((param) => this.ShowDiagnosticsView(), (param) => !this.DiagnosticsViewActive); |
} |
return _showDiagnosticsViewCommand; |
} |
} |
private void ShowDiagnosticsView() |
{ |
Messenger.Default.Send<CommandMessage>(new CommandMessage(this, Messages.ViewMessages.ShowDiagnosticsView.ToString())); |
} |
Imager.exe!CM.Imager.DiagnosticsView.Window_Deactivated(Object sender = {CM.Imager.DiagnosticsView}, System.EventArgs e = {System.EventArgs}) Line 57 Basic |
[External Code] |
Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadMenuItem.OnIsSubmenuOpenChanged(System.Windows.DependencyObject d = {Telerik.Windows.Controls.RadMenuItem Header:Tools Items.Count:7}, System.Windows.DependencyPropertyChangedEventArgs e = {System.Windows.DependencyPropertyChangedEventArgs}) Line 1813 + 0xa bytes C# |
[External Code] |
Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadMenuItem.IsSubmenuOpen.set(bool value = false) Line 496 C# |
Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadMenuItem.CloseMenu() Line 944 C# |
Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadMenuItem.OnIsSelectedChanged(System.Windows.DependencyObject d = {Telerik.Windows.Controls.RadMenuItem Header:Tools Items.Count:7}, System.Windows.DependencyPropertyChangedEventArgs e = {System.Windows.DependencyPropertyChangedEventArgs}) Line 1756 C# |
[External Code] |
Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadMenuItem.IsSelected.set(bool value = false) Line 648 C# |
Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.MenuBase.CurrentSelection.set(Telerik.Windows.Controls.RadMenuItem value = null) Line 302 C# |
Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.MenuBase.CloseAll() Line 327 C# |
Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadMenuItem.OnClickImpl() Line 1126 C# |
Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadMenuItem.OnClick() Line 1488 C# |
Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadMenuItem.ClickItem() Line 2527 C# |
Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadMenuItem.HandleMouseUp() Line 1098 C# |
Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadMenuItem.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs e = {System.Windows.Input.MouseButtonEventArgs}) Line 1291 C# |
[External Code] |
Start-URI: http://demos.telerik.com/wpf/
Anwendungsidentität: http://demos.telerik.com/wpf/#Telerik.Windows.Examples.xbap, Version=2010.1.604.35, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=msil/Telerik.Windows.Examples.exe, Version=2010.1.604.35, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=msil, type=win32
System.InvalidCastException: Die angegebene Umwandlung ist ungültig.
Server stack trace:
bei MS.Internal.AppModel.IBrowserCallbackServices.UpdateTravelLog(Boolean addNewEntry)
bei System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
bei System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
bei System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]:
bei System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
bei MS.Internal.AppModel.IBrowserCallbackServices.UpdateTravelLog(Boolean addNewEntry)
bei System.Windows.Navigation.NavigationService.CallUpdateTravelLog(Boolean addNewEntry)
bei System.Windows.Navigation.NavigationService.UpdateJournal(NavigationMode navigationMode, JournalReason journalReason, JournalEntry destinationJournalEntry)
bei System.Windows.Navigation.NavigationService.OnBeforeSwitchContent(Object newBP, NavigateInfo navInfo, Uri newUri)
bei System.Windows.Navigation.NavigationService.MS.Internal.AppModel.IContentContainer.OnContentReady(ContentType contentType, Object bp, Uri bpu, Object navState)
bei System.Windows.Navigation.NavigationService.DoNavigate(Object bp, NavigationMode navFlags, Object navState)
bei System.Windows.Navigation.NavigateQueueItem.Dispatch(Object obj)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
bei System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
bei System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
bei System.Threading.ExecutionContext.runTryCode(Object userData)
bei System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Windows.Threading.DispatcherOperation.Invoke()
bei System.Windows.Threading.Dispatcher.ProcessQueue()
bei System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
bei System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
bei System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
bei System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
bei System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
bei System.Windows.Threading.Dispatcher.Run()
bei System.Windows.Application.RunDispatcher(Object ignore)
bei System.Windows.Application.StartDispatcherInBrowser(Object unused)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
bei System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
bei System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
bei System.Threading.ExecutionContext.runTryCode(Object userData)
bei System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Windows.Threading.DispatcherOperation.Invoke()
bei System.Windows.Threading.Dispatcher.ProcessQueue()
bei System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
bei System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
bei System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
bei System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
-----------------------
PresentationHost.exe v3.0.6920.4902 built by: NetFXw7 - C:\Windows\System32\PresentationHost.exe
ntdll.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\SYSTEM32\ntdll.dll
kernel32.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\kernel32.dll
KERNELBASE.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\KERNELBASE.dll
ADVAPI32.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\ADVAPI32.dll
msvcrt.dll v7.0.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\msvcrt.dll
sechost.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\SYSTEM32\sechost.dll
RPCRT4.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\RPCRT4.dll
USER32.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\USER32.dll
GDI32.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\GDI32.dll
LPK.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\LPK.dll
USP10.dll v1.0626.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\USP10.dll
ole32.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\ole32.dll
OLEAUT32.dll v6.1.7600.16385 - C:\Windows\system32\OLEAUT32.dll
mscoree.dll v4.0.31106.0 (Main.031106-0000) - C:\Windows\System32\mscoree.dll
SHLWAPI.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\SHLWAPI.dll
WININET.dll v8.00.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\WININET.dll
Normaliz.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\Normaliz.dll
urlmon.dll v8.00.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\urlmon.dll
CRYPT32.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\CRYPT32.dll
MSASN1.dll v6.1.7600.16415 (win7_gdr.090828-1615) - C:\Windows\system32\MSASN1.dll
iertutil.dll v8.00.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\iertutil.dll
SHELL32.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\SHELL32.dll
IMM32.DLL v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\IMM32.DLL
MSCTF.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\MSCTF.dll
PresentationHost_v0400.dll v4.0.30319.1 built by: RTMRel - C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\PresentationHost_v0400.dll
MSVCR100_CLR0400.dll v10.00.30319.1 - C:\Windows\System32\MSVCR100_CLR0400.dll
VERSION.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\VERSION.dll
PSAPI.DLL v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\PSAPI.DLL
CRYPTBASE.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\CRYPTBASE.dll
uxtheme.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\uxtheme.dll
CLBCatQ.DLL v2001.12.8530.16385 (win7_rtm.090713-1255) - C:\Windows\system32\CLBCatQ.DLL
CRYPTSP.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\CRYPTSP.dll
rsaenh.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\rsaenh.dll
RpcRtRemote.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\RpcRtRemote.dll
ntmarta.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\ntmarta.dll
WLDAP32.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\WLDAP32.dll
dwmapi.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\dwmapi.dll
comctl32.dll v6.10 (win7_rtm.090713-1255) - C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16385_none_421189da2b7fabfc\comctl32.dll
SspiCli.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\SspiCli.dll
profapi.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\profapi.dll
ws2_32.DLL v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\ws2_32.DLL
NSI.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\NSI.dll
dnsapi.DLL v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\dnsapi.DLL
iphlpapi.DLL v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\iphlpapi.DLL
WINNSI.DLL v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\WINNSI.DLL
RASAPI32.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\RASAPI32.dll
rasman.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\rasman.dll
rtutils.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\rtutils.dll
sensapi.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\sensapi.dll
peerdist.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\peerdist.dll
USERENV.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\USERENV.dll
AUTHZ.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\AUTHZ.dll
mswsock.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\mswsock.dll
wshtcpip.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\wshtcpip.dll
NLAapi.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\NLAapi.dll
rasadhlp.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\rasadhlp.dll
winrnr.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\winrnr.dll
napinsp.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\napinsp.dll
pnrpnsp.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\pnrpnsp.dll
wshbth.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\wshbth.dll
wship6.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\wship6.dll
fwpuclnt.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\fwpuclnt.dll
dfshim.dll v4.0.31106.0 (Main.031106-0000) - C:\Windows\System32\dfshim.dll
mscoreei.dll v4.0.30319.1 (RTMRel.030319-0100) - C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll
clr.dll v4.0.30319.1 (RTMRel.030319-0100) - C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
msxml3.dll v8.110.7600.16385 - C:\Windows\System32\msxml3.dll
PresentationHostDLL.dll v3.0.6920.4902 built by: NetFXw7 - C:\Windows\Microsoft.NET\Framework\v3.0\WPF\PresentationHostDLL.dll
MSVCR80.dll v8.00.50727.4927 - C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5\MSVCR80.dll
ieproxy.dll v8.00.7600.16588 (win7_gdr.100505-1849) - C:\Program Files\Internet Explorer\ieproxy.dll
SXS.DLL v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\SXS.DLL
PresentationHostProxy.dll v4.0.31106.0 built by: Main - C:\Windows\System32\PresentationHostProxy.dll
mshtml.dll v8.00.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\mshtml.dll
msls31.dll v3.10.349.0 - C:\Windows\System32\msls31.dll
pdm.dll v10.0.30319.1 built by: RTMRel - c:\Program Files\Common Files\Microsoft Shared\VS7Debug\pdm.dll
msdbg2.dll v9.0.30729.4462 built by: QFE - c:\Program Files\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll
msimtf.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\msimtf.dll
IEFRAME.dll v8.00.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\IEFRAME.dll
OLEACC.dll v7.0.0.0 (win7_rtm.090713-1255) - C:\Windows\System32\OLEACC.dll
scriptsn.dll vVSCORE.14.1.0.447.x86 - C:\Program Files\McAfee\VirusScan Enterprise\scriptsn.dll
JScript.dll v5.8.7600.16385 - C:\Windows\system32\JScript.dll
VBScript.dll v5.8.7600.16385 - C:\Windows\system32\VBScript.dll
mytilus3.dll vVSCORE.14.1.0.447.x86 - C:\Program Files\McAfee\VirusScan Enterprise\mytilus3.dll
mytilus3_worker.dll vVSCORE.14.1.0.447.x86 - C:\Program Files\McAfee\VirusScan Enterprise\mytilus3_worker.dll
SHFOLDER.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\SHFOLDER.dll
McShield.dll vVSCORE.14.1.0.447 - C:\Program Files\McAfee\VirusScan Enterprise\RES0700\McShield.dll
ImgUtil.dll v8.00.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\ImgUtil.dll
pngfilt.dll v8.00.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\pngfilt.dll
mlang.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\mlang.dll
mscorwks.dll v2.0.50727.4927 (NetFXspW7.050727-4900) - C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
mscorlib.ni.dll v2.0.50727.4927 (NetFXspW7.050727-4900) - C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\8c1770d45c63cf5c462eeb945ef9aa5d\mscorlib.ni.dll
System.ni.dll v2.0.50727.4927 (NetFXspW7.050727-4900) - C:\Windows\assembly\NativeImages_v2.0.50727_32\System\5ba3bf5367fc012300c6566f20cb7f54\System.ni.dll
WindowsBase.ni.dll v3.0.6920.5001 built by: Win7RTMGDR - C:\Windows\assembly\NativeImages_v2.0.50727_32\WindowsBase\9d9eb1ef43c092551bba1e45cd29b069\WindowsBase.ni.dll
PresentationCore.ni.dll v3.0.6920.5001 built by: Win7RTMGDR - C:\Windows\assembly\NativeImages_v2.0.50727_32\PresentationCore\e7b5050c2c315562d740c4b9535cf5ce\PresentationCore.ni.dll
PresentationFramework.ni.dll v3.0.6920.5001 built by: Win7RTMGDR - C:\Windows\assembly\NativeImages_v2.0.50727_32\PresentationFramewo#\7114c629020f6bba198a954e4794c979\PresentationFramework.ni.dll
wpfgfx_v0300.dll v3.0.6920.4902 built by: NetFXw7 - C:\Windows\Microsoft.NET\Framework\v3.0\WPF\wpfgfx_v0300.dll
msimg32.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\msimg32.dll
PresentationUI.ni.dll v3.0.6920.4902 built by: NetFXw7 - C:\Windows\assembly\NativeImages_v2.0.50727_32\PresentationUI\725d7684f0ea5e347d2425f3f59c986e\PresentationUI.ni.dll
System.Deployment.ni.dll v2.0.50727.4927 (NetFXspW7.050727-4900) - C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Deployment\7c575d65bcb13c9bb68ea0fb4ecfc124\System.Deployment.ni.dll
PresentationFramework.resources.dll v3.0.6920.4902 built by: NetFXw7 - C:\Windows\assembly\GAC_MSIL\PresentationFramework.resources\3.0.0.0_de_31bf3856ad364e35\PresentationFramework.resources.dll
System.Configuration.ni.dll v2.0.50727.4927 (NetFXspW7.050727-4900) - C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Configuration\aadfdc0e7d9181a98d667a52c3c35601\System.Configuration.ni.dll
System.Xml.ni.dll v2.0.50727.4927 (NetFXspW7.050727-4900) - C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Xml\5dd9f783008543df3e642ff1e99de4e8\System.Xml.ni.dll
winhttp.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\winhttp.dll
webio.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\webio.dll
dhcpcsvc6.DLL v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\dhcpcsvc6.DLL
dhcpcsvc.DLL v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\dhcpcsvc.DLL
credssp.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\credssp.dll
CFGMGR32.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\CFGMGR32.dll
System.Deployment.resources.dll v2.0.50727.4927 (NetFXspW7.050727-4900) - C:\Windows\assembly\GAC_MSIL\System.Deployment.resources\2.0.0.0_de_b03f5f7f11d50a3a\System.Deployment.resources.dll
mscorlib.resources.dll v2.0.50727.4927 (NetFXspW7.050727-4900) - C:\Windows\assembly\GAC_MSIL\mscorlib.resources\2.0.0.0_de_b77a5c561934e089\mscorlib.resources.dll
diasymreader.dll v8.0.50727.4927 (NetFXspW7.050727-4900) - C:\Windows\Microsoft.NET\Framework\v2.0.50727\diasymreader.dll
System.Drawing.ni.dll v2.0.50727.4927 (NetFXspW7.050727-4900) - C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Drawing\ead6be8b410d56b5576b10e56af2c180\System.Drawing.ni.dll
mscorjit.dll v2.0.50727.4927 (NetFXspW7.050727-4900) - C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorjit.dll
PresentationFramework.Aero.ni.dll v3.0.6920.4902 built by: NetFXw7 - C:\Windows\assembly\NativeImages_v2.0.50727_32\PresentationFramewo#\ea9930bda41258af0220c9c7e4e6f4fd\PresentationFramework.Aero.ni.dll
Telerik.Windows.QuickStartLoader.dll v1.0.0.0 - C:\Users\ts\AppData\Local\Apps\2.0\DZ3LOE4X.8EV\D43G8KR0.G74\tele..xbap_0000000000000000_07da.0001_badc3ab67d75a2bb\Telerik.Windows.QuickStartLoader.dll
System.Core.ni.dll v3.5.30729.4926 built by: NetFXw7 - C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Core\2ce20cdf50b09576d2cbebefeeb74598\System.Core.ni.dll
d3d9.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\d3d9.dll
d3d8thk.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\d3d8thk.dll
nvd3dum.dll v8.17.11.9716 - C:\Windows\System32\nvd3dum.dll
Telerik.Windows.QuickStartTheme.dll v1.0.0.0 - C:\Users\ts\AppData\Local\Apps\2.0\DZ3LOE4X.8EV\D43G8KR0.G74\tele..xbap_0000000000000000_07da.0001_badc3ab67d75a2bb\Telerik.Windows.QuickStartTheme.dll
Telerik.Windows.QuickStart.dll v1.0.0.0 - C:\Users\ts\AppData\Local\Apps\2.0\DZ3LOE4X.8EV\D43G8KR0.G74\tele..xbap_0000000000000000_07da.0001_badc3ab67d75a2bb\Telerik.Windows.QuickStart.dll
WindowsCodecs.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\WindowsCodecs.dll
Telerik.Windows.Controls.dll v2010.1.0604.35 - C:\Users\ts\AppData\Local\Apps\2.0\DZ3LOE4X.8EV\D43G8KR0.G74\tele..xbap_0000000000000000_07da.0001_badc3ab67d75a2bb\Telerik.Windows.Controls.dll
Telerik.Windows.Controls.Input.dll v2010.1.0604.35 - C:\Users\ts\AppData\Local\Apps\2.0\DZ3LOE4X.8EV\D43G8KR0.G74\tele..xbap_0000000000000000_07da.0001_badc3ab67d75a2bb\Telerik.Windows.Controls.Input.dll
System.Xml.Linq.ni.dll v3.5.30729.4926 built by: NetFXw7 - C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Xml.Linq\d312ae3c839cbbaf0153dd6a5e1a6876\System.Xml.Linq.ni.dll
Telerik.Windows.Controls.resources.dll v2010.1.0604.35 - C:\Users\ts\AppData\Local\Apps\2.0\DZ3LOE4X.8EV\D43G8KR0.G74\tele..xbap_0000000000000000_07da.0001_badc3ab67d75a2bb\de\Telerik.Windows.Controls.resources.dll
PresentationNative_v0300.dll v3.0.6920.4902 built by: NetFXw7 - C:\Windows\System32\PresentationNative_v0300.dll
WINMM.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\WINMM.dll
powrprof.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\System32\powrprof.dll
SETUPAPI.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\SETUPAPI.dll
DEVOBJ.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\DEVOBJ.dll
msctfui.dll v6.1.7600.16385 (win7_rtm.090713-1255) - C:\Windows\system32\msctfui.dll
Hi,
I'm using "RadControls for WPF Q1 2010 SP2". I don't know whether it's because of my settings or it is a bug but when the window is initialized the tiles are shown in Minimized state with small content. If I maximize one of them and then minimize them all again the previously maximized tile is shown in Restore state but the others are stiil shown in Minimized state.
Below is the XAML and CS code:
<Window x:Class="TestApp.MainWindow" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
xmlns:telerikAnimation="clr-namespace:Telerik.Windows.Controls.Animation;assembly=Telerik.Windows.Controls" |
xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" |
Title="MainWindow" Height="350" Width="525" |
WindowState="Maximized"> |
<Grid> |
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalAlignment="Stretch" |
HorizontalAlignment="Stretch" VerticalScrollBarVisibility="Auto" Padding="0" |
BorderThickness="0" > |
<Border Margin="10" HorizontalAlignment="Center" VerticalAlignment="Center"> |
<Border.Resources> |
<Style TargetType="TextBlock" x:Key="HeaderTitle"> |
<Setter Property="Foreground" Value="Black" /> |
<Setter Property="FontSize" Value="12" /> |
<Setter Property="FontWeight" Value="Bold" /> |
<Setter Property="FontFamily" Value="Segoe UI" /> |
<Setter Property="VerticalAlignment" Value="Center" /> |
<Setter Property="Padding" Value="0" /> |
</Style> |
<Style TargetType="TextBlock" x:Key="SmallBox"> |
<Setter Property="Foreground" Value="#0b4366" /> |
<Setter Property="FontSize" Value="12" /> |
<Setter Property="FontWeight" Value="Normal" /> |
<Setter Property="FontFamily" Value="Segoe UI" /> |
<Setter Property="VerticalAlignment" Value="Center" /> |
<Setter Property="Padding" Value="10 0" /> |
</Style> |
<DataTemplate x:Key="Package"> |
<Grid> |
<Border Style="{StaticResource DetailBorder}"> |
<Grid> |
<Grid.RowDefinitions> |
<RowDefinition /> |
<RowDefinition /> |
</Grid.RowDefinitions> |
<Grid.ColumnDefinitions> |
<ColumnDefinition Width="Auto" /> |
<ColumnDefinition Width="Auto" /> |
<ColumnDefinition Width="Auto" /> |
<ColumnDefinition Width="65" /> |
</Grid.ColumnDefinitions> |
<TextBlock Grid.Row="0" Grid.Column="0" Text="Kod:" /> |
<TextBox Grid.Row="0" Grid.Column="1" Text="{Binding Path=Code}" /> |
<TextBlock Grid.Row="0" Grid.Column="2" Text="Form Miktar:" /> |
<TextBox Grid.Row="0" Grid.Column="3" Text="{Binding Path=ChildQty}" /> |
<TextBlock Grid.Row="1" Grid.Column="0" Text="Tanım:" /> |
<TextBox Grid.Row="1" Grid.Column="1" Text="{Binding Path=Descr}" /> |
<TextBlock Grid.Row="1" Grid.Column="2" Text="Satış Miktar:" /> |
<TextBox Grid.Row="1" Grid.Column="3" Text="{Binding Path=ParentQty}" /> |
</Grid> |
</Border> |
</Grid> |
</DataTemplate> |
</Border.Resources> |
<telerikNavigation:RadTileView x:Name="rtvTest" Width="950" Height="400" |
Grid.Column="1" Grid.Row="1" |
ItemsSource="{Binding Products}" |
MaximizeMode="ZeroOrOne"> |
<telerikNavigation:RadTileView.ItemTemplate> |
<DataTemplate> |
<TextBlock Text="{Binding Path=Descr}" Style="{StaticResource HeaderTitle}"/> |
</DataTemplate> |
</telerikNavigation:RadTileView.ItemTemplate> |
<telerikNavigation:RadTileView.ContentTemplate> |
<DataTemplate> |
<telerik:RadFluidContentControl telerikAnimation:AnimationManager.IsAnimationEnabled="True" |
SmallToNormalThreshold="280, 130" |
NormalToSmallThreshold="280, 130" |
NormalToLargeThreshold="730, 350" |
LargeToNormalThreshold="730, 350" > |
<telerik:RadFluidContentControl.SmallContent> |
<Border Height="30" Width="190" > |
<TextBlock Text="{Binding SmallCode}" Style="{StaticResource SmallBox}"/> |
</Border> |
</telerik:RadFluidContentControl.SmallContent> |
<telerik:RadFluidContentControl.Content> |
<Border Height="130" Width="280"> |
<TextBlock Text="{Binding Path=NormalCode}" Style="{StaticResource SmallBox}" FontWeight="Bold" FontSize="14"/> |
</Border> |
</telerik:RadFluidContentControl.Content> |
<telerik:RadFluidContentControl.LargeContent> |
<Border Margin="30,80,30,30" Height="350" Width="730" > |
<TextBlock Text="{Binding Path=LargeCode}" Style="{StaticResource SmallBox}" FontWeight="DemiBold" FontSize="18"/> |
</Border > |
</telerik:RadFluidContentControl.LargeContent> |
</telerik:RadFluidContentControl> |
</DataTemplate> |
</telerikNavigation:RadTileView.ContentTemplate> |
</telerikNavigation:RadTileView> |
</Border> |
</ScrollViewer> |
</Grid> |
</Window> |
using System; |
using System.Collections.Generic; |
using System.Linq; |
using System.Text; |
using System.Windows; |
using System.Windows.Controls; |
using System.Windows.Data; |
using System.Windows.Documents; |
using System.Windows.Input; |
using System.Windows.Media; |
using System.Windows.Media.Imaging; |
using System.Windows.Navigation; |
using System.Windows.Shapes; |
namespace TestApp { |
public partial class MainWindow : Window { |
public MainWindow() { |
InitializeComponent(); |
rtvTest.ItemsSource = TestEntity.GetSampleList(); |
} |
} |
public class TestEntity { |
public string SmallCode { get; set; } |
public string NormalCode { get; set; } |
public string LargeCode { get; set; } |
public TestEntity(string smallCode, string normalCode, string largeCode) { |
SmallCode = smallCode; |
NormalCode = normalCode; |
LargeCode = largeCode; |
} |
public static List<TestEntity> GetSampleList() { |
List<TestEntity> result = new List<TestEntity>(); |
result.Add(new TestEntity("A1", "A11", "A111")); |
result.Add(new TestEntity("B1", "B11", "B111")); |
result.Add(new TestEntity("C1", "C11", "C111")); |
result.Add(new TestEntity("D1", "D11", "D111")); |
result.Add(new TestEntity("E1", "E11", "E111")); |
result.Add(new TestEntity("K1", "K11", "K111")); |
result.Add(new TestEntity("X1", "X11", "X111")); |
return result; |
} |
} |
} |
Thanks in advance
<telerikGrid:RadGridView x:Name="partSearchInfoRadGridView" GridLinesVisibility="Horizontal" AutoGenerateColumns="False" SelectionMode="Multiple" ItemsSource="{Binding partInfoDT}" RowDetailsVisibilityChanged="partSearchInfoRadGridView_RowDetailsVisibilityChanged" |
RowDetailsVisibilityMode="VisibleWhenSelected" RowLoaded="partSearchInfoRadGridView_RowLoaded" ScrollViewer.HorizontalScrollBarVisibility="Hidden" |
Style="{DynamicResource RadGridViewStyleECP}" RowStyle="{DynamicResource GridViewRowStyle}" |
IsSynchronizedWithCurrentItem="False" SelectionChanged="partSearchInfoRadGridView_SelectionChanged"> |
<telerikGrid:RadGridView.Columns>.... |
<telerikGrid:RadGridView.RowDetailsTemplate> |
<DataTemplate> |
<telerikGrid:RadGridView x:Name="partSearchInfoInnerRadGridView" CanUserFreezeColumns="False" GridLinesVisibility="Horizontal" IsReadOnly="True" |
AutoGenerateColumns="False" Height="200" RowHeight="30" ScrollViewer.HorizontalScrollBarVisibility="Hidden" |
Style="{DynamicResource RadGridViewStyleECP}" RowStyle="{DynamicResource GridViewRowStyle}" |
IsSynchronizedWithCurrentItem="False" RowDetailsVisibilityMode="Collapsed" |
SelectionChanged="partSearchInfoInnerRadGridView_SelectionChanged" |
IsFilteringAllowed="False" ShowGroupPanel="False" > |
<telerikGrid:RadGridView.Columns>.... |
System.Xml.Serialization. I am using VS2010, framework 4 with WPF Telerik controls.
Can i have some example for the same?