[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.InvalidContentControlSingleChildException

Class InvalidContentControlSingleChildException

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

The exception that is thrown when trying to insert more then one content of the specific type inside the content control.

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

Constructors

InvalidContentControlSingleChildException(ContentControl, Type, bool)

Initializes a new instance of the InvalidContentControlSingleChildException class.

public InvalidContentControlSingleChildException(ContentControl contentControl, Type allowedChildType, bool multiLine)

Parameters

contentControl ContentControl

The content control inside wich trying to insert.

allowedChildType Type

The allowed child type to insert.

multiLine bool

Whether the content control is multiline text control.