Share via

WebPartZoneBase.VerbButtonType Property


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

 virtual property System::Web::UI::WebControls::ButtonType VerbButtonType { System::Web::UI::WebControls::ButtonType get(); void set(System::Web::UI::WebControls::ButtonType value); };
public override System.Web.UI.WebControls.ButtonType VerbButtonType { get; set; }
member this.VerbButtonType : System.Web.UI.WebControls.ButtonType with get, set
Public Overrides Property VerbButtonType As 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.

Applies to

See also