ButtonBase.UseVisualStyleBackColor 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,判斷背景是否使用視覺風格繪製(若支援)。
public:
property bool UseVisualStyleBackColor { bool get(); void set(bool value); };
public bool UseVisualStyleBackColor { get; set; }
member this.UseVisualStyleBackColor : bool with get, set
Public Property UseVisualStyleBackColor As Boolean
屬性值
true如果背景是用視覺風格繪製的;否則,。 false
備註
視覺風格是控制項外觀的規格。 例如,視覺樣式可以定義控制項的顏色、大小和字型,並讓你能設定視覺介面與應用程式介面協調。 此外,它們也提供一套機制,讓所有基於 Windows 的應用程式都能套用視覺樣式。