ListFormWebPart.OnInit method

Handles the Init event.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

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

Parameters

Remarks

This override initializes a page component that will interact with the Server ribbon if the Server ribbon should be shown to the user and whether the Web Part is displayed.

See also

Reference

ListFormWebPart class

ListFormWebPart members

Microsoft.SharePoint.WebPartPages namespace