Top "Typedescriptor" questions

Use this tag for questions related to Type Description API, including TypeDescriptor, TypeDescriptionProvider, TypeDescriptionProviderAttribute, ICustomTypeDescriptor, CustomTypeDescriptor, ITypeDescriptorFilterService

How to add property-level Attribute to the TypeDescriptor at runtime?

I want to add some custom PropertyGrid-centric Attributes to the object's properties, to provide richer editing, hide some values and …

c# .net propertygrid system.componentmodel typedescriptor
TypeDescriptor.GetProperties() vs Type.GetProperties()

Consider the following code. Object obj; PropertyDescriptorCollection A = TypeDescriptor.GetProperties(obj); PropertyInfo[] B = obj.GetType().GetProperties(); I'm trying to understand …

c# reflection types typedescriptor
C# converting to double returns infinity

I have a method: public void StoreNumberInSmallestType(ValueType number) { if (numberTypes == null) numberTypes = new List<Type>() { typeof(sbyte), …

c# double converter infinity typedescriptor