2002-05-07 Rodrigo Moya <rodrigo@ximian.com>
[mono.git] / mcs / class / System / System.ComponentModel / ICustomTypeDescriptor.cs
1 //
2 // System.ComponentModel.ICustomTypeDescriptor.cs
3 //
4 // (C) 2002 Ximian, Inc.  http://www.ximian.com
5 //
6 // Authors:
7 //   Rodrigo Moya (rodrigo@ximian.com)
8 //
9
10 namespace System.ComponentModel
11 {
12         public interface ICustomTypeDescriptor
13         {
14                 AttributeCollection GetAttributes();
15
16                 string GetClassName();
17
18                 string GetComponentName();
19
20                 TypeConverter GetConverter();
21
22                 EventDescriptor GetDefaultEvent();
23
24                 PropertyDescriptor GetDefaultProperty();
25
26                 object GetEditor(Type editorBaseType);
27
28                 EventDescriptorCollection GetEvents();
29
30                 EventDescriptorCollection GetEvents(Attribute[] arr);
31
32                 PropertyDescriptorCollection GetProperties();
33
34                 PropertyDescriptorCollection GetProperties(Attribute[] arr);
35
36                 object GetPropertyOwner(PropertyDescriptor pd);
37         }
38 }