ResizeMode Enumeration
.NET Framework 4.5
Specifies whether a window can be resized and, if so, how it can be resized. Used by the ResizeMode property.
Assembly: PresentationFramework (in PresentationFramework.dll)
| Member name | Description | |
|---|---|---|
| CanMinimize | A window can only be minimized and restored. The Minimize and Maximize buttons are both shown, but only the Minimize button is enabled. | |
| CanResize | A window can be resized. The Minimize and Maximize buttons are both shown and enabled. | |
| CanResizeWithGrip | 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 | A window cannot be resized. The Minimize and Maximize buttons are not displayed in the title bar. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.