Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

WebPartVerbCollection Class

Note: This class is new in the .NET Framework version 2.0.

Represents a collection of custom Web Parts verbs. This class cannot be inherited.

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in system.web.dll)

public sealed class WebPartVerbCollection : ReadOnlyCollectionBase
public final class WebPartVerbCollection extends ReadOnlyCollectionBase
public final class WebPartVerbCollection extends ReadOnlyCollectionBase

Web Parts verbs are interactive user interface (UI) elements that are displayed in a menu or title bar of a Web Parts control. A Web Parts zone provides to a Web Parts control a standard set of verbs that are rendered in the Web Parts verb menu. A custom Web Parts zone or a Web Parts control can add additional verbs to this menu.

ASP.NET provides several standard verbs by default to all controls in a Web Parts zone, including the close and minimize verbs. 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.

You can create new verbs that are added to the Web Parts verb menu. A control can inherit from the WebPart base class and add WebPartVerb objects to a WebPartVerbCollection collection. This collection can then be added to the Verbs collection of the control.

A control can also implement the IWebActionable interface and override the Verbs property. You can then use a WebPartVerbCollection collection to add custom verbs to a control.

This class implements ReadOnlyCollectionBase, which provides a non-generic, read-only collection.

System.Object
   System.Collections.ReadOnlyCollectionBase
    System.Web.UI.WebControls.WebParts.WebPartVerbCollection
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.