Exportar (0) Imprimir
Expandir todo

Window.WindowState (Propiedad)

Gets or sets whether a window is restored, minimized, or maximized. This is a dependency property.

Espacio de nombres: System.Windows
Ensamblado: PresentationFramework (en presentationframework.dll)
Espacio de nombres XML:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public WindowState WindowState { get; set; }
/** @property */
public WindowState get_WindowState ()

/** @property */
public void set_WindowState (WindowState value)

public function get WindowState () : WindowState

public function set WindowState (value : WindowState)

<object WindowState="WindowState" .../>

Valor de propiedad

A WindowState that determines whether a window is restored, minimized, or maximized. The default is Normal (restored).

Before a window is minimized or maximized, its size and location are stored in in RestoreBounds. When a window is subsequently restored, its size and location values are restored with the values from RestoreBounds.

When the WindowState property is changed, StateChanged is raised.

NotaNota:

You cannot set or get this property when a window is hosted in a browser.

Microsoft .NET Framework 3.0 es compatible con Windows Vista, Microsoft Windows XP SP2 y Windows Server 2003 SP1.

.NET Framework

Compatible con: 3.0

Adiciones de comunidad

AGREGAR
Mostrar:
© 2014 Microsoft