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

Estilo de 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, se establecen los siguientes bits 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 la agrega al valor que proporcione.

Se aplica a

Consulte también