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 and the BehaviorEditorPart, 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 panel to an EditorZone control on the page.

For a full description of all PropertyGridEditorPart control properties, see PropertyGridEditorPart Properties  Cc295341.xtlink_newWindow(en-us,Expression.40).pngin the MSDN library.

For an overview of and programming examples for the PropertyGridEditorPart control, see PropertyGridEditorPart Class  Cc295341.xtlink_newWindow(en-us,Expression.40).pngin the MSDN library.

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.

Community Additions