Control::Site 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 site of the control.

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

property ISite^ Site {
	virtual ISite^ get() override;
	virtual void set(ISite^ value) override;

Property Value

Type: System.ComponentModel::ISite^

The ISite associated with the Control, if any.

.NET Framework
Available since 1.1
Return to top