[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.InvalidContentControlLevelParentChildException

Class InvalidContentControlLevelParentChildException

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

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
Inheritance
InvalidContentControlLevelParentChildException
Implements
Inherited Members

Constructors

InvalidContentControlLevelParentChildException(ContentControl, ContentObject, Type)

Initializes a new instance of the InvalidContentControlLevelParentChildException class.

public InvalidContentControlLevelParentChildException(ContentControl contentControl, ContentObject parent, Type allowedChildType)

Parameters

contentControl ContentControl

The content control inside wich trying to insert.

parent ContentObject

The parent content object inside the content control where to insert the child content object.

allowedChildType Type

The allowed child type to insert.