다음을 통해 공유


MenuTemplate.RenderChildrenOnly Property

Gets or sets a value that indicates whether the control renders its own output enclosing elements and child controls or just the child controls.

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

Syntax

'Declaration
Public Property RenderChildrenOnly As Boolean
    Get
    Set
'Usage
Dim instance As MenuTemplate
Dim value As Boolean

value = instance.RenderChildrenOnly

instance.RenderChildrenOnly = value
public bool RenderChildrenOnly { get; set; }

Property Value

Type: System.Boolean
true if only child controls are rendered; otherwise, false.

See Also

Reference

MenuTemplate Class

MenuTemplate Members

Microsoft.SharePoint.WebControls Namespace