This method is called each time the C1RichTextViewManager paints.

Namespace:  C1.Silverlight.RichTextBox
Assembly:  C1.Silverlight.RichTextBox (in C1.Silverlight.RichTextBox.dll)

Syntax

C#
void Paint(
	C1PaintingContext context
)
Visual Basic
Sub Paint ( _
	context As C1PaintingContext _
)

Parameters

context
Type: C1.Silverlight.RichTextBox..::..C1PaintingContext
A C1PaintingContext providing information for the current document section being painted.

Remarks

Any UIElement that is to be painted with the rich text is passed to Paint(Double, Double, Boolean, FrameworkElement). Note that each time this method is called, all UIElements must be painted by calling Paint(Double, Double, Boolean, FrameworkElement), otherwise they will be removed. Passing the same UIElement each time is more efficient, as it is not removed from the visual tree.

See Also