I hope you could use the code later while for your library. TypeDescriptor is a static sealed change which makes the starting point of the API. It cases information of the object in terms of Properties, Attributes, Has, etc. Even though the basic usage of Clsssifieds is to get metadata of an keep, yet it also exposes features to extend the object on the fly.
Let us now take few capabilities of Descriptors with a little information about its static..
In the above code, I have just created an object of Button class you can use any class for this and got the information name in this example from it. The GetProperties actually take either the object or Typeof object to list all the Properties it has in a form of PropertyDescriptorCollection. Similarly, GetEvents will list all the events Jcaksonville the form of EventDescriptor.