Επεξεργασία

Κοινή χρήση μέσω


Window.WindowStyle Property

Definition

Gets or sets a window's border style.

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

Property Value

A WindowStyle that specifies a window's border style. The default is SingleBorderWindow.

Remarks

WindowStyle can be one of the WindowStyle enumeration values, including None, ToolWindow, SingleBorderWindow (default), and ThreeDBorderWindow.

The following figure shows the window styles on Windows Vista (Windows Vista Aero theme, with transparent glass enabled):

Window styles

Note

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

Dependency Property Information

Identifier field WindowStyleProperty
Metadata properties set to true None

Applies to