TemplatePicker.UseParentWebTemplates property

Use the parent SPWeb's web template collection to show in the gallery.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property UseParentWebTemplates As Boolean
    Get
    Set
'Usage
Dim instance As TemplatePicker
Dim value As Boolean

value = instance.UseParentWebTemplates

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

Property value

Type: System.Boolean

Remarks

Default behavior is to use the current SPWeb's web template collection for the gallery. If this property is set, and the current web is not a root web, the gallery will be populated with the parent SPWeb's web template collection.

See also

Reference

TemplatePicker class

TemplatePicker members

Microsoft.SharePoint.WebControls namespace