C1.Silverlight.RichTextBox Namespace > IRichTextPainter Interface : Paint Method |
'Declaration
Sub Paint( _ ByVal context As C1PaintingContext _ )
void Paint( C1PaintingContext context )
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.
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