[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.C1ResizePainter

C1ResizePainter Class

Paints resize thumbs around a C1TextElement.

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

Constructors

Name Description
C1ResizePainter()

Fields

Name Description
DirectionProperty

Identifies the Direction attached property.

Properties

Name Description
Element

Gets or sets the C1TextElement to resize.

ResizeTemplate

Gets or sets a DataTemplate that draws the resize thumbs.

Methods

Name Description
GetDirection(DependencyObject)

Gets the direction.

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.

SetDirection(DependencyObject, Point)

Sets the direction.

Events

Name Description
PainterChanged

Fired when the painter needs to repaint a text range.