WebPartZoneBase.WebPartVerbRenderMode Property


Gets or sets a value indicating how the verbs should be rendered on WebPart controls in the zone.

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

public virtual WebPartVerbRenderMode WebPartVerbRenderMode { get; set; }

Property Value

Type: System.Web.UI.WebControls.WebParts.WebPartVerbRenderMode

A WebPartVerbRenderMode enumeration value indicating how verbs should be rendered on WebPart controls. The default value is Menu.

Exception Condition

The value for the property is not one of the WebPartVerbRenderMode values.

The WebPartVerbRenderMode property determines whether verbs on WebPart controls in a zone are rendered in the title bar of the controls, or in a drop-down verbs menu. If the verbs are to be rendered in the title bar, you can also set the TitleBarVerbButtonType and TitleBarVerbStyle properties to change the appearance of the verbs.

.NET Framework
Available since 2.0
Return to top