HwndSourceParameters Structure
Contains the parameters used to create a HwndSource object using the HwndSource constructor.
Assembly: PresentationCore (in PresentationCore.dll)
XMLNS for XAML: Not mapped to an xmlns.
This structure is used only in the HwndSource object constructor call.
The various properties whose values are established by this structure are not directly exposed on HwndSource instances when an HwndSource is constructed. However, the HwndSourceParameters values typically affect general UI properties such as "Height" and "Width" that might exist in specific hosted objects and their APIs.
Important Note: |
|---|
Do not construct instances of this structure using the default (parameterless) constructor. A HwndSourceParameters created by the default constructor results in HwndSourceParameters that cannot be assigned a WindowName (even though the WindowName property appears to be settable). If such an instance is applied as the parameters for an HwndSource constructor, the resulting HwndSource will never display a window. |
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Important Note: