共用方式為


TreeView.BackColor 屬性

定義

取得或設定控制項的背景色彩。

public:
 virtual property System::Drawing::Color BackColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
public override System.Drawing.Color BackColor { get; set; }
member this.BackColor : System.Drawing.Color with get, set
Public Overrides Property BackColor As Color

屬性值

Color

Color ,代表控制項的背景色彩。 預設值為 DefaultBackColor 屬性的值。

適用於

另請參閱