RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox Namespace / IRichTextPainter Interface / Paint Method
A C1PaintingContext providing information for the current document section being painted.

In This Topic
    Paint Method (IRichTextPainter)
    In This Topic
    This method is called each time the C1RichTextViewManager paints.
    Syntax
    'Declaration
     
    
    Sub Paint( _
       ByVal context As C1PaintingContext _
    ) 
    void Paint( 
       C1PaintingContext context
    )

    Parameters

    context
    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 C1PaintingContext.Paint. Note that each time this method is called, all UIElements must be painted by calling C1PaintingContext.Paint, 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