ResizeMode Enumeration

 

Specifies whether a window can be resized and, if so, how it can be resized. Used by the ResizeMode property.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

[LocalizabilityAttribute(LocalizationCategory.None, Readability = Readability.Unreadable)]
public enum ResizeMode

Member nameDescription
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.

.NET Framework
Available since 3.0
Return to top
Show: