Window.WindowStyle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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):
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
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za