[]
The exception that is thrown when trying to insert invalid content type into the specific parent content inside the content control.
public class InvalidContentControlParentChildException : InvalidContentControlChildException, ISerializable
Initializes a new instance of the InvalidContentControlParentChildException class.
public InvalidContentControlParentChildException(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
System.TypeThe allowed child type to insert.
Initializes a new instance of the InvalidContentControlParentChildException class.
public InvalidContentControlParentChildException(ContentControl contentControl, ContentObject parent, Type[] allowedChildTypes)
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.
allowedChildTypes
System.Type[]The allowed child types to insert.