VisualStyleInformation.IsEnabledByUser 屬性

定義

取得值,指出使用者是否在作業系統中啟用視覺化樣式。

public:
 static property bool IsEnabledByUser { bool get(); };
public static bool IsEnabledByUser { get; }
member this.IsEnabledByUser : bool
Public Shared ReadOnly Property IsEnabledByUser As Boolean

屬性值

Boolean

如果使用者在支援視覺化樣式的作業系統中啟用樣式,則為 true,否則為 false

備註

使用者可以在 [顯示 ] 選項的[外觀] 索引標籤中啟用視覺樣式,主控台。 此屬性會在內部檢查屬性的值 IsSupportedByOS

適用於