共用方式為


ApprovalButton.Visible Property

Gets or sets a Boolean flag that indicates whether the button is visible.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides Property Visible As Boolean
    Get
    Set
'Usage
Dim instance As ApprovalButton
Dim value As Boolean

value = instance.Visible

instance.Visible = value
public override bool Visible { get; set; }

Property Value

Type: System.Boolean
true if the button is visible; otherwise, false.

See Also

Reference

ApprovalButton Class

ApprovalButton Members

Microsoft.SharePoint.WebControls Namespace