Compartilhar via


ListViewWebPart.CreateChildControls Method

Creates a set of child controls that are contained in the ListViewWebPart.

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Protected Overrides Sub CreateChildControls
'Usage

Me.CreateChildControls()
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
protected override void CreateChildControls()

Remarks

This override creates toolbar controls and a Gantt control if the ViewType is Gantt or a SPCalendarView control if the ViewType is Calendar.

See Also

Reference

ListViewWebPart Class

ListViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace