WindowManagementPreview.SetPreferredMinSize(AppWindow, Size) Method

Definition

Sets the preferred minimum size for the specified AppWindow.

public:
 static void SetPreferredMinSize(AppWindow ^ window, Size preferredFrameMinSize);
 static void SetPreferredMinSize(AppWindow const& window, Size const& preferredFrameMinSize);
public static void SetPreferredMinSize(AppWindow window, Size preferredFrameMinSize);
function setPreferredMinSize(window, preferredFrameMinSize)
Public Shared Sub SetPreferredMinSize (window As AppWindow, preferredFrameMinSize As Size)

Parameters

window
AppWindow

The app window to set the size for.

preferredFrameMinSize
Size

The preferred minimum size for the window.

Applies to