The PropertyGridEditorPart provides a generic user interface (UI) that enables users to edit custom properties on Web Part and server controls placed in WebPartZoneBase zones. In contrast, the other EditorPart controls, such as the AppearanceEditorPart control and the BehaviorEditorPart control, edit only existing, UI-oriented properties from the WebPart class.
The PropertyGridEditorPart control becomes visible only when a Web Parts page is in edit mode, and when a specific Web Part control has been selected for editing. The PropertyGridEditorPart control, like all other EditorPart controls, resides in an EditorZone zone.
To add a PropertyGridEditorPart control to a page
- Drag the PropertyGridEditorPart control from the Toolbox task pane to an EditorZone control on the page.
For a full description of all PropertyGridEditorPart control properties, see PropertyGridEditorPart Propertiesin the MSDN library.
For an overview of and programming examples for the PropertyGridEditorPart control, see PropertyGridEditorPart Classin the MSDN library.