共用方式為


WindowManagementPreview.SetPreferredMinSize(AppWindow, Size) 方法

定義

設定指定 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)

參數

window
AppWindow

要設定大小的應用程式視窗。

preferredFrameMinSize
Size

視窗慣用的大小下限。

適用於