Table of Contents

Class ScrollBarAnnotations

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

Represents a class that handles various scroll bar annotations.

public class ScrollBarAnnotations : IScrollBarAnnotations, IDisposable, IScrollBarAnnotationsPainterSite
Inheritance
ScrollBarAnnotations
Implements

Properties

Enabled

Indicates whether IScrollBarAnnotations is enabled.

EnabledAnnotationKinds

Gets or sets active scrollbar annotation kinds.

Methods

CreatePainter()
CreateSource()
Dispose()

Disposes this ScrollBarAnnotations and frees resources associated with it.

Dispose(bool)
GetAnnotationPaintData(ScrollBarAnnotation)
GetAnnotationTypeAppearance(ScrollBarAnnotationType)

Gets appearance for a specified type.

GetCustomAnnotationsPaintData()
Initialize(TextEditor)

Initializes an instance of the ScrollBarAnnotations class with a specified owner.

Invalidate()

Updates the layout and redraws all scrollbar annotations.

OnAnnotationsChanged()
SetAnnotationTypeAppearance(ScrollBarAnnotationType, ScrollBarAnnotationTypeAppearance)

Sets appearance for a specified type.

SetLineStyleAnnotationAppearance(int, ScrollBarAnnotationTypeAppearance)

Sets appearance for specified line style.

Events

CustomAnnotationsRequested

Occurs when a custom annotation is requested.