المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : PropertyGrid and Custom properties



C# Programming
05-04-2009, 04:24 AM
I have a custom property that has two string values and an int value. I need to display them in a PropertyGrid so that the property's UITypeEditor edits any of the three properties within that type. An example would be the "Font" type in a PropertyGrid. The name, size, unit, bold, etc. is part of the editor for that property type. Is PropertyDescriptor what I need?

Thanks,
Mark