System.Web.UI.WebControls.WebParts.WebPartVerb.Visible Property

Gets or sets a value that indicates whether a verb is visible to users.

Syntax

[System.ComponentModel.NotifyParentProperty(true)]
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue(true)]
public bool Visible { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Verbs often need to be hidden or displayed depending on the content of a Web Parts application. For example, the minimize verb is hidden when a control is already minimized, and conversely, the restore verb is hidden when the control is in its normal, non-minimized state.

A verb whose WebPartVerb.Visible property is set to false is hidden from users, but is still rendered on a page, can still be accessed programmatically, and still fully participates in page and control life cycle events.

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

Requirements

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0