[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.InvalidContentControlChildControlException

Class InvalidContentControlChildControlException

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

The exception that is thrown when trying to insert invalid content control type inside the content control.

public class InvalidContentControlChildControlException : InvalidContentControlChildException, ISerializable, _Exception
Inheritance
InvalidContentControlChildControlException
Implements
Inherited Members

Constructors

InvalidContentControlChildControlException(ContentControl, ContentControlType)

Initializes a new instance of the InvalidContentControlChildControlException class.

public InvalidContentControlChildControlException(ContentControl contentControl, ContentControlType allowedControlType)

Parameters

contentControl ContentControl

The content control inside wich trying to insert.

allowedControlType ContentControlType

The allowed content control type to insert.