共用方式為


TreeView.ForeColor 屬性

定義

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

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

屬性值

Color

控制項的前景 Color。 預設值為 DefaultForeColor 屬性的值。

適用於

另請參閱