RichTextBox for WinRT
Paint Method (IRichTextPainter)


A C1PaintingContext providing information for the current document section being painted.
This method is called each time the C1RichTextViewManager paints.
Syntax
'Declaration
 
Sub Paint( _
   ByVal context As C1PaintingContext _
) 
'Usage
 
Dim instance As IRichTextPainter
Dim context As C1PaintingContext
 
instance.Paint(context)
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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IRichTextPainter Interface
IRichTextPainter Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback