21 references to WindowInteropHelper
PresentationFramework (14)
src\Framework\Microsoft\Win32\CommonDialog.cs (1)
187IntPtr hwndOwner = (new WindowInteropHelper(owner)).CriticalHandle;
src\Framework\MS\Internal\Printing\Win32PrintDialog.cs (1)
93new System.Windows.Interop.WindowInteropHelper(System.Windows.Application.Current.MainWindow);
src\Framework\System\Windows\Application.cs (1)
1883new WindowInteropHelper(appWin).EnsureHandle();
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
665WindowInteropHelper helper = new WindowInteropHelper(window);
src\Framework\System\Windows\MessageBox.cs (6)
330return ShowCore((new WindowInteropHelper(owner)).CriticalHandle, messageBoxText, caption, button, icon, defaultResult, options); 351return ShowCore((new WindowInteropHelper (owner)).CriticalHandle, messageBoxText, caption, button, icon, defaultResult, 0); 371return ShowCore((new WindowInteropHelper (owner)).CriticalHandle, messageBoxText, caption, button, icon, 0, 0); 390return ShowCore((new WindowInteropHelper (owner)).CriticalHandle, messageBoxText, caption, button, MessageBoxImage.None, 0, 0); 405return ShowCore((new WindowInteropHelper (owner)).CriticalHandle, messageBoxText, caption, MessageBoxButton.OK, MessageBoxImage.None, 0, 0); 420return ShowCore((new WindowInteropHelper (owner)).CriticalHandle, messageBoxText, String.Empty, MessageBoxButton.OK, MessageBoxImage.None, 0, 0);
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (2)
198_hwnd = new WindowInteropHelper(_window).Handle; 235_hwnd = new WindowInteropHelper(_window).Handle;
src\Framework\System\Windows\SystemCommands.cs (2)
34IntPtr hwnd = new WindowInteropHelper(window).Handle; 116IntPtr hwnd = new WindowInteropHelper(window).Handle;
System.Activities.Presentation (7)
System.Activities.Presentation\System\Activities\Presentation\Hosting\WindowHelperService.cs (1)
64WindowInteropHelper interopHelper = new WindowInteropHelper(target);
System.Activities.Presentation\System\Activities\Presentation\View\WindowExtensionMethods.cs (5)
16IntPtr hwnd = new WindowInteropHelper(window).Handle; 31IntPtr hwnd = new WindowInteropHelper(window).Handle; 52IntPtr hwnd = new WindowInteropHelper(window).Handle; 59IntPtr hwnd = new WindowInteropHelper(window).Handle; 66IntPtr hwnd = new WindowInteropHelper(window).Handle;
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (1)
203WindowInteropHelper helper = new WindowInteropHelper(ownerWindow);