dimanche 15 mars 2015

How can I get the categories of Visual Studio Property-Window?

The categories of properties by PropertyDescriptor are different from the categories in the PropertyGrid of Visual Studio:


example (in VB):



Dim categories = TypeDescriptor.GetProperties(GetType(TextBox)).OfType(Of PropertyDescriptor).Select(Function(p) p.Category).Distinct.ToArray


categories contains "Misc", "Appearance", "Layout", "Behavior", "Touch" ("Fingereingabe" in German)


These are not the categories of the Visual Studio PropertyGrid (except "Layout").






Aucun commentaire:

Enregistrer un commentaire