Partager via


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)

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