[]
The exception that is thrown when trying to insert invalid content type into the specific parent content inside inside the specific level content control.
public class InvalidContentControlLevelParentChildException : Exception, ISerializable, _Exception
Initializes a new instance of the InvalidContentControlLevelParentChildException class.
public InvalidContentControlLevelParentChildException(ContentControl contentControl, ContentObject parent, Type allowedChildType)
contentControl
ContentControlThe content control inside wich trying to insert.
parent
ContentObjectThe parent content object inside the content control where to insert the child content object.
allowedChildType
TypeThe allowed child type to insert.