Class SubPageItemTypeRestrictionRule
- Namespace
- Dynamicweb.Content.Items.Activation
- Assembly
- Dynamicweb.dll
Class SubPageItemTypeRestrictionRule used for restricting where page items can be created in the page structure.
[Name("Sub page item types")]
[AddInTarget("Pages")]
[Obsolete("Use ChildItemTypeRestrictionRule instead")]
public class SubPageItemTypeRestrictionRule : ChildItemTypeRestrictionRule
- Inheritance
-
SubPageItemTypeRestrictionRule
- Inherited Members
Constructors
SubPageItemTypeRestrictionRule()
public SubPageItemTypeRestrictionRule()
- See Also
Methods
CanCreateInner(CreationRuleContext, Page)
protected override bool CanCreateInner(CreationRuleContext context, Page parent)
Parameters
context
CreationRuleContextparent
Page
Returns
- See Also
GetMetadata(CreationRuleEditorContext)
protected override MetadataContainer GetMetadata(CreationRuleEditorContext context)
Parameters
context
CreationRuleEditorContext
Returns
- See Also