HwndSourceParameters.WindowStyle Propiedad

Definición

Obtiene o establece el estilo de la ventana.

public:
 property int WindowStyle { int get(); void set(int value); };
public int WindowStyle { get; set; }
member this.WindowStyle : int with get, set
Public Property WindowStyle As Integer

Valor de propiedad

Nombre del estilo de la ventana. Consulte la función CreateWindowEx para obtener una lista completa de bits de estilo. Valores predeterminados: WS_VISIBLE, WS_CAPTION, WS_SYSMENU, WS_THICKFRAME, WS_MINIMIZEBOX, WS_MAXIMIZEBOX, WS_CLIPCHILDREN.

Comentarios

De forma predeterminada, los siguientes bits se establecen cuando se crea la estructura: WS_VISIBLE; WS_CAPTION; WS_SYSMENU; WS_THICKFRAME; WS_MINIMIZEBOX; WS_MAXIMIZEBOX; WS_CLIPCHILDREN.

Para una ventana estándar, debe establecer el bit de WS_CLIPCHILDREN. Este bit de estilo se aplica en el propio código; Si omite establecer esta marca, WPF lo agrega al valor que proporcione.

Se aplica a

Consulte también