DesktopWindowXamlSource.Initialize(WindowId) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DesktopWindowXamlSource class.
public:
virtual void Initialize(WindowId parentWindowId) = Initialize;
void Initialize(WindowId const& parentWindowId);
public void Initialize(WindowId parentWindowId);
function initialize(parentWindowId)
Public Sub Initialize (parentWindowId As WindowId)
Parameters
- parentWindowId
- WindowId
The WindowId of the HWND of your Win32 application.
Remarks
For C++ desktop application developers, use the interop::GetWindowIdFromWindow function to obtain the WindowId of the HWND of your Win32 application.
For C# desktop application developers, use the Win32Interop.GetWindowIdFromWindow(IntPtr) method to obtain the WindowId of the HWND of your Win32 application.