Class ChildRestrictionRule
- Namespace
- Dynamicweb.Content.Items.Activation
- Assembly
- Dynamicweb.dll
[Name("Allowed children")]
[SortIndex(4)]
[AddInTarget("ItemTypes")]
public class ChildRestrictionRule : CreationRule
- Inheritance
-
Child
Restriction Rule
- Inherited Members
Constructors
ChildRestrictionRule()
Properties
IsBroadcast
Gets value indicating whether the calling context must be aware of this rule rather than a rule aware of the context.
Property Value
Methods
CanCreate(CreationRuleContext)
Returns value indicating whether item of can be created according to the given creation context.
Parameters
context
CreationRule Context Creation context.
Returns
- bool
Value indicating whether item of can be created according to the given creation context.
CreateEditor(CreationRuleEditorContext?)
Returns an instance of an object that is responsible for editing rule value.
Parameters
context
CreationRule Editor Context
Returns
- Editor
An instance of an object that is responsible for editing rule value.