ResizeMode 枚举

定义

指定是否可以调整窗口大小,并在可调整大小的情况下指定如何调整窗口大小。 ResizeMode 属性使用。Used by the ResizeMode property.

public enum class ResizeMode
[System.Windows.Localizability(System.Windows.LocalizationCategory.None, Readability=System.Windows.Readability.Unreadable)]
public enum ResizeMode
type ResizeMode = 
Public Enum ResizeMode
继承
ResizeMode
属性

字段

CanMinimize 1

只能最小化和还原窗口。A window can only be minimized and restored. 同时显示“最小化”和“最大化”按钮,但只有“最小化”按钮处于启用状态。The Minimize and Maximize buttons are both shown, but only the Minimize button is enabled.

CanResize 2

可以调整窗口的大小。A window can be resized. 同时显示“最小化”和“最大化”按钮,并且两个按钮均处于启用状态。The Minimize and Maximize buttons are both shown and enabled.

CanResizeWithGrip 3

可以调整窗口的大小。A window can be resized. 同时显示“最小化”和“最大化”按钮,并且两个按钮均处于启用状态。The Minimize and Maximize buttons are both shown and enabled. 窗口的右下角显示一个大小调整手柄。A resize grip appears in the bottom-right corner of the window.

NoResize 0

无法调整窗口的大小。A window cannot be resized. 标题栏中不显示“最小化”和“最大化”按钮。The Minimize and Maximize buttons are not displayed in the title bar.

适用于