Microsoft Silverlight will reach end of support after October 2021. Learn more.
Provides functionality required by sites. Sites bind a component to a container and enable communication between them, as well as provide a way for the container to manage its components.
Assembly: System (in System.dll)
'Declaration <ComVisibleAttribute(True)> _ Public Interface ISite _ Inherits IServiceProvider
[ComVisibleAttribute(true)] public interface ISite : IServiceProvider
The ISite type exposes the following members.
|Component||When implemented by a class, gets the component associated with the ISite.|
|Container||When implemented by a class, gets the container associated with the ISite.|
|DesignMode||When implemented by a class, determines whether the component is in design mode.|
|Name||When implemented by a class, gets or sets the name of the component associated with the ISite.|
|GetService||Gets the service object of the specified type. (Inherited from IServiceProvider.)|
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Supported in: Xbox 360, Windows Phone OS 7.0
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.