System.Web.UI.WebControls.WebParts.WebPart.Verbs Property

Gets a collection of custom verbs associated with a System.Web.UI.WebControls.WebParts.WebPart control.

Syntax

public virtual WebPartVerbCollection Verbs { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Verbs derive from the System.Web.UI.WebControls.WebParts.WebPartVerb class, and provide user interface (UI) actions that users can perform on a System.Web.UI.WebControls.WebParts.WebPart control. Usually verbs are represented in the UI as buttons, links, or menu items. By default, common Web Parts verbs appear on a drop-down verbs menu in each System.Web.UI.WebControls.WebParts.WebPart control's title bar. There are standard verbs for opening, closing, editing, and minimizing a control, and other verbs for exporting a definition for the control or loading a Help file. These verbs are not included in the WebPart.Verbs collection, because the collection contains only custom verbs that you create and return by overriding this property in a derived class.

When you create custom verbs and add them to the WebPart.Verbs collection, you can then access the verbs programmatically from a System.Web.UI.WebControls.WebParts.WebPart control.

Requirements

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0