Implements a replacement for the Windows Forms PropertyGrid control.

Namespace:  ShinyDesign
Assembly:  ShinyDesign (in ShinyDesign.dll)
Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public class PropertyGridEx : PropertyGrid
Visual Basic (Declaration)
Public Class PropertyGridEx _
	Inherits PropertyGrid
Visual C++
public ref class PropertyGridEx : public PropertyGrid

Remarks

Custom property and enumeration names are supported through the use of the NameAttribute attribute, which specifies a friendly name that may include special characters and spaces normally reserved as tokenizers in programming languages targetting IL. Enumerations marked with the [Flags] attribute also offer a new designer which allow multiple values to be selected using checkboxes. Selecting an value that equates to zero automatically clears the other selected values.

Additionally, tabs are supported through the use of the TabAttribute attribute. Applying this attribute allows multiple tabs to be displayed on the property grid.

The PropertyGridEx control does not support designing multiple objects. For more information, see the SelectedObjects property remarks.

As an alternative, if you require the ability to design multiple objects or may not replace the PropertyGrid control in a project already, you can wrap the object to be designed within an instance of a TypeDescriptorSurrogate class. This class supports all of the functionality of the PropertyGridEx control, with the exception of multiple property tabs.

Inheritance Hierarchy

See Also