[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.C1SelectionPainter.Paint

Paint Method

Paint(C1PaintingContext)

This method is called each time the C1RichTextViewManager paints.

Declaration
public void Paint(C1PaintingContext context)
Parameters
Type Name Description
C1PaintingContext context

A C1PaintingContext providing information for the current document section being painted.

Implements
Remarks
<p>

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