Class ServiceProviderSite
A dummy ISite implementation, which provides support for custom services.
Inheritance
System.Object
ServiceProviderSite
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.Design
Assembly: Telerik.WinControls.dll
Syntax
public class ServiceProviderSite : ISite, IServiceProvider, IContainer, IDisposable
Constructors
ServiceProviderSite(IServiceProvider)
Declaration
public ServiceProviderSite(IServiceProvider provider)
Parameters
System.IServiceProvider
provider
|
Properties
Component
Declaration
public IComponent Component { get; }
Property Value
System.ComponentModel.IComponent
|
Components
Declaration
public ComponentCollection Components { get; }
Property Value
System.ComponentModel.ComponentCollection
|
Container
Declaration
public IContainer Container { get; }
Property Value
System.ComponentModel.IContainer
|
DesignMode
Declaration
public bool DesignMode { get; }
Property Value
System.Boolean
|
Name
Declaration
public string Name { get; set; }
Property Value
System.String
|
Methods
Add(IComponent)
Declaration
public void Add(IComponent component)
Parameters
System.ComponentModel.IComponent
component
|
Add(IComponent, String)
Declaration
public void Add(IComponent component, string name)
Parameters
System.ComponentModel.IComponent
component
|
System.String
name
|
Dispose()
Declaration
public void Dispose()
Implements
System.IDisposable.Dispose()
GetService(Type)
Declaration
public object GetService(Type serviceType)
Parameters
System.Type
serviceType
|
Returns
System.Object
|
Implements
System.IServiceProvider.GetService(System.Type)
Remove(IComponent)
Declaration
public void Remove(IComponent component)
Parameters
System.ComponentModel.IComponent
component
|