Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Specifies whether a window can be resized and, if so, how it can be resized. Used by the ResizeMode property.
public enum class ResizeMode
[System.Windows.Localizability(System.Windows.LocalizationCategory.None, Readability=System.Windows.Readability.Unreadable)]
public enum ResizeMode
[<System.Windows.Localizability(System.Windows.LocalizationCategory.None, Readability=System.Windows.Readability.Unreadable)>]
type ResizeMode =
Public Enum ResizeMode
Name | Value | Description |
---|---|---|
NoResize | 0 | A window cannot be resized. The Minimize and Maximize buttons are not displayed in the title bar. |
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. |
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Please sign in to use this experience.
Sign in