Partager via


WebPart.Hidden - Propriété

Gets or sets a value that specifies whether a Web Part is displayed on a Web Part Page.

Espace de noms :  Microsoft.SharePoint.Client.WebParts
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public Property Hidden As Boolean
    Get
    Set
'Utilisation
Dim instance As WebPart
Dim value As Boolean

value = instance.Hidden

instance.Hidden = value
public bool Hidden { get; set; }

Valeur de propriété

Type : System.Boolean
Returns Booleantrue if a Web Part is displayed on a Web Part Page; otherwise, returns false.

Remarques

If true, the Web Part must be hidden. Web Parts that are hidden must not be displayed on the page to the end user, but should still participate normally in the rendering of the page. The default value is false.

Voir aussi

Référence

WebPart classe

WebPart - Membres

Microsoft.SharePoint.Client.WebParts - Espace de noms