C# Class Hosting.DesignerHost

Inheritance: IDesignerHost, IContainer, IComponentChangeService, IExtenderProvider, ITypeDescriptorFilterService, IExtenderListService, IExtenderProviderService
Show file Open project: smartmobili/CocoaBuilder

Public Methods

Method Description
Activate ( ) : void
Add ( System component ) : void
Add ( System component, string name ) : void
AddExtenderProvider ( System provider ) : void
AddService ( System serviceType, System callback ) : void
AddService ( System serviceType, System callback, bool promote ) : void
AddService ( System serviceType, object serviceInstance ) : void
AddService ( System serviceType, object serviceInstance, bool promote ) : void
CanExtend ( object extendee ) : bool
CreateComponent ( System componentClass ) : System.ComponentModel.IComponent
CreateComponent ( System componentClass, string name ) : System.ComponentModel.IComponent
CreateTransaction ( ) : DesignerTransaction
CreateTransaction ( string description ) : DesignerTransaction
DesignerHost ( IServiceContainer parent ) : System
DestroyComponent ( System component ) : void
Dispose ( ) : void
FilterAttributes ( IComponent component, IDictionary attributes ) : bool
FilterEvents ( IComponent component, IDictionary events ) : bool
FilterProperties ( IComponent component, IDictionary properties ) : bool
GetDesigner ( System component ) : System.ComponentModel.Design.IDesigner
GetExtenderProviders ( ) : System.ComponentModel.IExtenderProvider[]
GetService ( System serviceType ) : object
GetType ( string typeName ) : Type
OnComponentChanged ( object component, System member, object oldValue, object newValue ) : void
OnComponentChanging ( object component, System member ) : void
Remove ( System component ) : void
RemoveExtenderProvider ( System provider ) : void
RemoveService ( System serviceType ) : void
RemoveService ( System serviceType, bool promote ) : void
SetName ( IComponent component, string name ) : void

Private Methods

Method Description
ContainsName ( string name ) : bool
GetName ( IComponent component ) : string
OnComponentRename ( object component, string oldName, string newName ) : void
OnTransactionClosed ( bool commit ) : void
OnTransactionClosing ( bool commit ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

Add() public method

public Add ( System component ) : void
component System
return void

Add() public method

public Add ( System component, string name ) : void
component System
name string
return void

AddExtenderProvider() public method

public AddExtenderProvider ( System provider ) : void
provider System
return void

AddService() public method

public AddService ( System serviceType, System callback ) : void
serviceType System
callback System
return void

AddService() public method

public AddService ( System serviceType, System callback, bool promote ) : void
serviceType System
callback System
promote bool
return void

AddService() public method

public AddService ( System serviceType, object serviceInstance ) : void
serviceType System
serviceInstance object
return void

AddService() public method

public AddService ( System serviceType, object serviceInstance, bool promote ) : void
serviceType System
serviceInstance object
promote bool
return void

CanExtend() public method

public CanExtend ( object extendee ) : bool
extendee object
return bool

CreateComponent() public method

public CreateComponent ( System componentClass ) : System.ComponentModel.IComponent
componentClass System
return System.ComponentModel.IComponent

CreateComponent() public method

public CreateComponent ( System componentClass, string name ) : System.ComponentModel.IComponent
componentClass System
name string
return System.ComponentModel.IComponent

CreateTransaction() public method

public CreateTransaction ( ) : DesignerTransaction
return System.ComponentModel.Design.DesignerTransaction

CreateTransaction() public method

public CreateTransaction ( string description ) : DesignerTransaction
description string
return System.ComponentModel.Design.DesignerTransaction

DesignerHost() public method

public DesignerHost ( IServiceContainer parent ) : System
parent IServiceContainer
return System

DestroyComponent() public method

public DestroyComponent ( System component ) : void
component System
return void

Dispose() public method

public Dispose ( ) : void
return void

FilterAttributes() public method

public FilterAttributes ( IComponent component, IDictionary attributes ) : bool
component IComponent
attributes IDictionary
return bool

FilterEvents() public method

public FilterEvents ( IComponent component, IDictionary events ) : bool
component IComponent
events IDictionary
return bool

FilterProperties() public method

public FilterProperties ( IComponent component, IDictionary properties ) : bool
component IComponent
properties IDictionary
return bool

GetDesigner() public method

public GetDesigner ( System component ) : System.ComponentModel.Design.IDesigner
component System
return System.ComponentModel.Design.IDesigner

GetExtenderProviders() public method

public GetExtenderProviders ( ) : System.ComponentModel.IExtenderProvider[]
return System.ComponentModel.IExtenderProvider[]

GetService() public method

public GetService ( System serviceType ) : object
serviceType System
return object

GetType() public method

public GetType ( string typeName ) : Type
typeName string
return System.Type

OnComponentChanged() public method

public OnComponentChanged ( object component, System member, object oldValue, object newValue ) : void
component object
member System
oldValue object
newValue object
return void

OnComponentChanging() public method

public OnComponentChanging ( object component, System member ) : void
component object
member System
return void

Remove() public method

public Remove ( System component ) : void
component System
return void

RemoveExtenderProvider() public method

public RemoveExtenderProvider ( System provider ) : void
provider System
return void

RemoveService() public method

public RemoveService ( System serviceType ) : void
serviceType System
return void

RemoveService() public method

public RemoveService ( System serviceType, bool promote ) : void
serviceType System
promote bool
return void

SetName() public method

public SetName ( IComponent component, string name ) : void
component IComponent
name string
return void