C1.Silverlight.RichTextBox.5 Assembly > 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.