Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ISite Interface

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.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

'Declaration
<ComVisibleAttribute(True)> _
Public Interface ISite _
	Inherits IServiceProvider

The ISite type exposes the following members.

  NameDescription
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360ComponentWhen implemented by a class, gets the component associated with the ISite.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360ContainerWhen implemented by a class, gets the container associated with the ISite.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360DesignModeWhen implemented by a class, determines whether the component is in design mode.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360NameWhen implemented by a class, gets or sets the name of the component associated with the ISite.
Top

  NameDescription
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360GetServiceGets the service object of the specified type. (Inherited from IServiceProvider.)
Top

This interface exists in Silverlight as a type system requirement for ITypeDescriptorContext and compatibility requirements for TypeConverter. It is not intended for implementation.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

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.

Community Additions

Show:
© 2017 Microsoft