ContentSizePolicy Enum
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.
Specifies the supported resizing capabilities between a DesktopChildSiteBridge and its parent Win32 HWND.
public enum class ContentSizePolicy
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65540)]
enum class ContentSizePolicy
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65540)]
public enum ContentSizePolicy
var value = Microsoft.UI.Content.ContentSizePolicy.none
Public Enum ContentSizePolicy
- Inheritance
-
ContentSizePolicy
- Attributes
Fields
None | 0 | No resizing behavior. |
ResizeContentToParentWindow | 1 | DesktopChildSiteBridge HWND is resized to the parent HWND client area. |
ResizeParentWindowToContent | 2 | Parent HWND client area is resized to the DesktopChildSiteBridge HWND size. Uses AdjustWindowRect function (winuser.h) to account for a potential non-client area in the parent HWND. |