[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.C1SelectionPainter

C1SelectionPainter Class

Paints a selected range.

Inheritance
C1SelectionPainter
Implements
Namespace: C1.WPF.RichTextBox
Assembly: C1.WPF.RichTextBox.4.6.2.dll
Syntax
public class C1SelectionPainter : IRichTextPainter

Constructors

Name Description
C1SelectionPainter()

Creates a new instance of C1SelectionPainter.

Properties

Name Description
Background

Gets or sets the Brush used when painting the selection.

PaintCaret

Gets or sets whether a caret is painted when Selection is empty.

PaintSelection

Gets or sets whether a rectangle is painted when Selection is not empty.

Selection

Gets or sets the painted range.

Methods

Name Description
Paint(C1PaintingContext)

This method is called each time the C1RichTextViewManager paints.

PaintInline(C1PaintingContext, C1Line)

This method is called each time the C1RichTextViewManager paints a C1Line.

Events

Name Description
PainterChanged

Fired when the painter needs to repaint a text range.