Catel.Windows.WindowExtensions.GetWindowHandle C# (CSharp) Method

GetWindowHandle() public static method

Gets the window handle of the specified window.
public static GetWindowHandle ( this window ) : IntPtr
window this The window.
return System.IntPtr
        public static IntPtr GetWindowHandle(this SystemWindow window)
        {
            Argument.IsNotNull("window", window);

            var interopHelper = new WindowInteropHelper(window);
            return interopHelper.Handle;
        }