ITypeDescriptorContext

ITypeDescriptorContext

System.ComponentModel (system.dll) interface

This interface is implemented by classes to allow clients to discover information about the context in which the component is in use.

You can find the Container that owns the component, the Instance of the object that aggregates the component, and the PropertyDescriptor that describes the component.

This might typically be used by a custom TypeConverter that wishes to make a contextual decision about how to deal with the conversion process.

 public interface  ITypeDescriptorContext  : IServiceProvider {  // Public Instance Properties  public IContainer  Container  {get; }    public object  Instance  {get; }    public PropertyDescriptor  PropertyDescriptor  {get; }  // Public Instance Methods  public void  OnComponentChanged  ();    public bool  OnComponentChanging  (); } 

Returned By

System.Drawing.Design.PaintValueEventArgs.Context

Passed To

Multiple types



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net