[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.InvalidContentControlLevelParentChildException.-ctor

InvalidContentControlLevelParentChildException Constructor

InvalidContentControlLevelParentChildException(ContentControl, ContentObject, Type)

Initializes a new instance of the InvalidContentControlLevelParentChildException class.

Declaration
public InvalidContentControlLevelParentChildException(ContentControl contentControl, ContentObject parent, Type allowedChildType)
Public Sub New(contentControl As ContentControl, parent As ContentObject, allowedChildType As Type)
Parameters
Type Name Description
ContentControl contentControl

The content control inside wich trying to insert.

ContentObject parent

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

Type allowedChildType

The allowed child type to insert.