This documentation is archived and is not being maintained.

WebPartZoneBase.VerbButtonType Property

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

Gets or sets the kind of button associated with the verbs that exist in a WebPartZoneBase zone when accessed with an older browser.

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

public override ButtonType VerbButtonType { get; set; }
/** @property */
public ButtonType get_VerbButtonType ()

/** @property */
public void set_VerbButtonType (ButtonType value)

public override function get VerbButtonType () : ButtonType

public override function set VerbButtonType (value : ButtonType)

Property Value

A ButtonType that determines what kind of button is associated with the verbs in a zone.

Web Parts verbs represent actions that users can perform in the user interface (UI) of a Web Parts page, such as minimizing, closing, or restoring controls; adding controls to a page; or canceling an action. A verb is represented in the UI by a clickable object, which you can set to appear as a hyperlink, an image, or a button by using the VerbButtonType property.

The VerbButtonType property applies to verbs that exist only at the zone level, as opposed to verbs that exist in each of the WebPart controls in a zone. For example, when you switch a page into catalog mode or edit mode, there are zone-level verbs in the footers of the zones that apply only to actions at the level of the entire zone. The VerbButtonType property is applied when the Web Parts page is accessed with an older ("down-level") browser.

You must assign a value to the ImageUrl property for each specific verb to cause an image to appear for that verb in its zone. If you do not provide the URL to an image, the verb's VerbButtonType property defaults to Link.

This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and ASP.NET Themes and Skins Overview.

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