Window.WindowStyle 屬性

定義

取得或設定視窗的框線樣式。

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

屬性值

WindowStyle,指定視窗的框線樣式。 預設為 SingleBorderWindow

備註

WindowStyle 可以是其中 WindowStyle 一個列舉值,包括 NoneToolWindowSingleBorderWindow (預設) 和 ThreeDBorderWindow

下圖顯示 Windows Vista (Windows Vista 的視窗樣式,並啟用透明玻璃) :

視窗樣式 視窗樣式

注意

當視窗裝載在瀏覽器中時,您無法設定或取得這個屬性。

相依性屬性資訊

識別碼欄位 WindowStyleProperty
中繼資料屬性設定為 true

適用於