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

窗口的首选最小大小。

适用于