Tag Archives: PropertyGrid

Use a type converter with a PropertyGrid control in C#

This example shows how you can use a type converter with a PropertyGrid control to let it display and edit compound properties. The example Use a PropertyGrid to let the user edit objects in C# shows how to use the … Continue reading

Posted in attributes, controls, OOP | Tagged , , , , , , , , , , , , , | 1 Comment

Use PropertyGrid descriptions and categories in C#

This example extends the post Use a PropertyGrid to let the user edit objects in C# to use PropertyGrid descriptions and categories. Just give a class’s properties the Description and Category attributes to make the PropertyGrid use them in its … Continue reading

Posted in attributes, controls, OOP | Tagged , , , , , , , , , , | Leave a comment

Use a PropertyGrid to let the user edit objects in C#

A program can use a PropertyGrid control to let the user edit the properties of objects defined by the program. Simply set the control’s SelectedObject property to an object and the user can view and edit that object’s properties. This … Continue reading

Posted in controls, OOP | Tagged , , , , , , , | 2 Comments