Assembly: PresentationCore (in PresentationCore.dll)
XMLNS for XAML: Not mapped to an xmlns.
Thetype exposes the following members.
|AcquireHwndFocusInMenuMode||Gets or sets the value that determines whether to acquire Win32 focus for the WPF containing window when an HwndSource is created.|
|AdjustSizingForNonClientArea||Gets or sets a value that indicates whether to include the nonclient area for sizing.|
|ExtendedWindowStyle||Gets or sets the extended Microsoft Windows styles for the window.|
|HasAssignedSize||Gets a value that indicates whether a size was assigned.|
|Height||Gets or sets a value that indicates the height of the window.|
|HwndSourceHook||Gets or sets the message hook for the window.|
|ParentWindow||Gets or sets the window handle (HWND) of the parent for the created window.|
|PositionX||Gets or sets the left-edge position of the window.|
|PositionY||Gets or sets the upper-edge position of the window.|
|RestoreFocusMode||Gets or sets how WPF handles restoring focus to the window.|
|UsesPerPixelOpacity||Gets a value that declares whether the per-pixel opacity of the source window content is respected.|
|Width||Gets or sets a value that indicates the width of the window.|
|WindowClassStyle||Gets or sets the Microsoft Windows class style for the window.|
|WindowName||Gets or sets the name of the window.|
|WindowStyle||Gets or sets the style for the window.|
|Equals(HwndSourceParameters)||Determines whether this structure is equal to a specified structure.|
|Equals(Object)||Determines whether this structure is equal to a specified object. (Overrides ValueType::Equals(Object).)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Returns the hash code for this instance. (Overrides ValueType::GetHashCode().)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|SetPosition||Sets the values that are used for the screen position of the window for the HwndSource.|
|SetSize||Sets the values that are used for the window size of the HwndSource.|
|ToString||Returns the fully qualified type name of this instance. (Inherited from ValueType.)|
This structure is used only in the HwndSource object constructor call.
The properties whose values are established by this structure are not directly exposed on HwndSource instances when an HwndSource is constructed. However, the values of the structure typically affect general UI properties such as "Height" and "Width" that might exist in specific hosted objects and their APIs.
Do not construct instances of this structure using the default (parameterless) constructor. An instance that is created by the default constructor results in 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 cannot display a window.
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
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.