VB Web Part Catalogs
In addition to allowing users to personalize the layout and visibility of web parts on a page, you can also let users edit properties of each web part. Every part has a set of default properties that can be personalized. Each control can also provide additional properties to be personalized.
To allow editing of control properties, you need to add a special zone control, called the
EditorZone, to the page. To this zone, you can add one or more editor parts. The following editor parts are provided:
- The AppearanceEditorPart control allows users to edit the visual appearance of a web part.
- The BehaviorEditorPart control allows users to edit behavior properties of a web part.
- The LayoutEditorPart control allows users to edit the layout of a web part.
- The PropertyGridEditorPart control displays a property grid that allows users to edit custom personalizable properties for a web part.
You can also create your own custom editor parts by inheriting from the
EditorPart base class.
This example shows a page with an EditorZone containing an AppearanceEditorPart.
- Log in to the page.
- Select "Edit" from the menu's DropDownList.The editor will now be visible.
- Click the Edit Verb on the calendar's Verbs Menu to edit the Web Part.
- Edit the title in the editor, and click OK. The title of the calendar will now be updated.
长按二维码向我转账
受苹果公司新规定影响,微信 iOS 版的赞赏功能被关闭,可通过二维码转账支持公众号。