[]
The exception that is thrown when trying to insert invalid content type inside the content control.
public class InvalidContentControlChildException : Exception, ISerializable, _Exception
Initializes a new instance of the InvalidContentControlChildException class.
public InvalidContentControlChildException(ContentControl contentControl, ContentObject child)
contentControl
ContentControlThe content control inside wich trying to insert.
child
ContentObjectThe child content wich trying to insert.
Initializes a new instance of the InvalidContentControlChildException class.
public InvalidContentControlChildException(string message)
message
stringThe message that describes the error.