Window.WindowStyle Property
.NET Framework 3.0
Gets or sets a window's border style. This is a dependency property.
Namespace: System.Windows
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
Window Members
System.Windows Namespace
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
'Declaration Public Property WindowStyle As WindowStyle 'Usage Dim instance As Window Dim value As WindowStyle value = instance.WindowStyle instance.WindowStyle = value
/** @property */ public WindowStyle get_WindowStyle () /** @property */ public void set_WindowStyle (WindowStyle value)
public function get WindowStyle () : WindowStyle public function set WindowStyle (value : WindowStyle)
<object WindowStyle="WindowStyle" .../>
Property Value
A WindowStyle that specifies a window's border style. The default value is SingleBorderWindow.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):
Note: |
|---|
| You cannot set or get this property when a window is hosted in a browser. |
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Reference
Window ClassWindow Members
System.Windows Namespace
Other Resources
Dependency Properties OverviewCommunity Additions
ADD
Show:
Note: