Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

WindowManagementPreview.SetPreferredMinSize(AppWindow, Size) Method

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.

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


Feedback

Was this page helpful?