GenericWebPart.Verbs Property
Assembly: System.Web (in system.web.dll)
public: virtual property WebPartVerbCollection^ Verbs { WebPartVerbCollection^ get () override; }
/** @property */ public WebPartVerbCollection get_Verbs ()
public override function get Verbs () : WebPartVerbCollection
Property Value
A WebPartVerbCollection that contains custom WebPartVerb objects associated with a GenericWebPart control. The default value is Empty.Verbs derive from the WebPartVerb class, and provide user interface (UI) actions that users can perform on a GenericWebPart control. Usually, verbs are represented in the UI as buttons, links, or menu items. 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 Verbs collection, because the collection contains only custom verbs.
This property overrides the base property so that you can access the property on the child control as if it were a true WebPart control. If you child control implements the IWebActionable interface and thus overrides its IWebActionable.Verbs property, the GenericWebPart control uses the child control's implementation when the GenericWebPart.Verbs property is invoked on the GenericWebPart control.
When you create custom verbs and add them to the Verbs collection, you can then access the verbs programmatically from a Verbs control.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.