Control::Site Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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)

public:
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
Show: