Share via


SharingCenterWebPart.OnPreRender method

Handles the PreRender event.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Protected Overrides Sub OnPreRender ( _
    e As EventArgs _
)
'Usage
Dim e As EventArgs

Me.OnPreRender(e)
protected override void OnPreRender(
    EventArgs e
)

Parameters

Remarks

This override hides the SharingCenterWebPart if the SharingCenterWebPart is not on a “My Site” page.

See also

Reference

SharingCenterWebPart class

SharingCenterWebPart members

Microsoft.SharePoint.Portal.WebControls namespace