WindowHandle Property
See Also 
SourceCode.Framework Namespace > IModalWindow Interface : WindowHandle Property



Glossary Item Box

This property returns the handle of an instance of an IModalWindow object. Note that this property will only have a valid value AFTER the WindowLoaded event has occurred.

Syntax

Visual Basic (Declaration) 
ReadOnly Property WindowHandle As IntPtr
Visual Basic (Usage)Copy Code
Dim instance As IModalWindow
Dim value As IntPtr
 
value = instance.WindowHandle
C# 
IntPtr WindowHandle {get;}
C++/CLI 
property IntPtr WindowHandle {
   IntPtr get();
}

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also