SilverlightWebPart.CreateChildControls Method

Creates a Literal as the sole child control of the Silverlight Web Part.

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

Syntax

'Declaration
Protected Overrides Sub CreateChildControls
'Usage

Me.CreateChildControls()
protected override void CreateChildControls()

Remarks

If a custom External Application Provider (EAP) is being used, then the CreateChildControls() method uses the control returned by SPExternalApplicationRequestResult.GetContentControl(String), if any, as the Web Part’s child control.

See Also

Reference

SilverlightWebPart Class

SilverlightWebPart Members

Microsoft.SharePoint.WebPartPages Namespace