Table of Contents

Class ScrollBarAnnotationPaintData

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

Represents a class that contains data used to paint scrollbar annotation.

public class ScrollBarAnnotationPaintData
Inheritance
ScrollBarAnnotationPaintData

Constructors

ScrollBarAnnotationPaintData(ScrollBarAnnotationType, int, ScrollBarAnnotationAlignment, Color, double, int)

Initializes a new instance of the ScrollBarAnnotationPaintData class with specified parameters.

ScrollBarAnnotationPaintData(ScrollBarAnnotationType, int, ScrollBarAnnotationHorizontalAlignment, ScrollBarAnnotationVerticalAlignment, Color, double, int)

Initializes a new instance of the ScrollBarAnnotationPaintData class with specified parameters.

Properties

Color

Gets annotation background color.

Height

Gets annotation height.

HorizontalAlignment

Gets horizontal alignment of the annotation.

TextLineStartIndex

Gets index of line from which annotation starts.

TextLinesCount

Gets amount of lines to which annotation belongs.

Type

Gets type of the annotation.

VerticalAlignment

Gets vertical alignment of the annotation.