March 2003
Intermediate to advanced
896 pages
32h 35m
English
ITypeDescriptorContext
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(); }
System.Drawing.Design.PaintValueEventArgs.Context
Multiple types
Read now
Unlock full access