New to Telerik UI for WinForms? Start a free 30-day trial

Base class for models that store their body content in a separate RadDocument, including comments and notes.

Definition

Namespace:Telerik.WinForms.Documents.Model

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public abstract class ChildDocumentContainer

Inheritance: objectChildDocumentContainer

Derived Classes: CommentNote

Constructors

C#
protected ChildDocumentContainer()

Properties

Gets or sets the child document. The base setter detaches the previous body from its main document and raises the body-change events around assignment.

C#
public virtual RadDocument Body { get; set; }

Methods

Raises BodyChanged after the body reference changes.

C#
protected virtual void OnBodyChanged()

Detaches the current body from its main document and raises BodyChanging before replacement.

C#
protected virtual void OnBodyChanging()

Events

Occurs after the body reference changes.

C#
public event EventHandler BodyChanged

Occurs after the current body is detached from its main document and before the body reference changes.

C#
public event EventHandler BodyChanging