Class ItemTypeRestrictionRule
- Namespace
 - Dynamicweb.Content.Items.Activation
 
- Assembly
 - Dynamicweb.dll
 
Represents a item type restriction rule.
  
  [AddInTarget("Placeholders")]
public class ItemTypeRestrictionRule : CreationRuleBase
  - Inheritance
 - 
      
      
      
      ItemTypeRestrictionRule
 
- Inherited Members
 
Properties
IsBroadcast
Gets value indicating whether the calling context must be aware of this rule rather than a rule aware of the context.
  
  public override bool IsBroadcast { get; }
  Property Value
Methods
CanCreateInner(CreationRuleContext, Page)
protected override bool CanCreateInner(CreationRuleContext context, Page parent)
  Parameters
contextCreationRuleContextparentPage
Returns
GetAllowedItemTypes(CreationRuleContext)
public static IEnumerable<string> GetAllowedItemTypes(CreationRuleContext context)
  Parameters
contextCreationRuleContext
Returns
GetPlaceholder(CreationRuleContext, Layout)
protected static DynamicElement GetPlaceholder(CreationRuleContext context, Layout parentLayout)
  Parameters
contextCreationRuleContextparentLayoutLayout
Returns
GetSystemNames(CreationRuleContext, Layout)
protected static IEnumerable<string> GetSystemNames(CreationRuleContext context, Layout parentLayout)
  Parameters
contextCreationRuleContextparentLayoutLayout
Returns
GetValues()
public override IEnumerable<KeyValuePair<string, string>> GetValues()