ResizeMode ResizeMode ResizeMode ResizeMode Enum

Definition

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
type ResizeMode = 
Public Enum ResizeMode
Inheritance
Attributes

Fields

CanMinimize CanMinimize CanMinimize 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 CanResize CanResize CanResize 2

A window can be resized. The Minimize and Maximize buttons are both shown and enabled.

CanResizeWithGrip CanResizeWithGrip CanResizeWithGrip 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 NoResize NoResize NoResize 0

A window cannot be resized. The Minimize and Maximize buttons are not displayed in the title bar.

Applies to