TreeView::ForeColor Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the foreground color of the control.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

property Color ForeColor {
	virtual Color get() override;
	virtual void set(Color value) override;

Property Value

Type: System.Drawing::Color

The foreground Color of the control. The default is the value of the DefaultForeColor property.

.NET Framework
Available since 1.1
Return to top