Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 888 Bytes

contentsizepolicy.md

File metadata and controls

36 lines (21 loc) · 888 Bytes
-api-id -api-type
T:Microsoft.UI.Content.ContentSizePolicy
winrt enum

Microsoft.UI.Content.ContentSizePolicy

-description

Specifies the supported resizing capabilities between a xref:Microsoft.UI.Content.DesktopChildSiteBridge and its parent Win32 HWND.

-enum-fields

-field None: 0

No resizing behavior.

-field ResizeContentToParentWindow: 1

xref:Microsoft.UI.Content.DesktopChildSiteBridge HWND is resized to the parent HWND client area.

-field ResizeParentWindowToContent: 2

Parent HWND client area is resized to the xref:Microsoft.UI.Content.DesktopChildSiteBridge HWND size. Uses xref:NF:winuser.AdjustWindowRect to account for a potential non-client area in the parent HWND.

-remarks

-see-also

DesktopChildSiteBridge.ResizePolicy

-examples