ListViewWebPart.CreateChildControls method
在ListViewWebPart中建立一組子項所包含的控制項。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Protected Overrides Sub CreateChildControls
'用途
Me.CreateChildControls()
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
protected override void CreateChildControls()
備註
這個覆寫建立工具列上的控制項和Gantt控制項,如果ViewType是Gantt或SPCalendarView控制項如果ViewType是Calendar。