[]
Creates grid scrollbar annotation instance.
public GridScrollBarAnnotation(int row, ScrollBarAnnotationType scrollBarAnnotationType, string text, double position, Color? color = null, HorizontalAlignment alignment = HorizontalAlignment.Center, int width = 100, int height = 2)
Public Sub New(row As Integer, scrollBarAnnotationType As ScrollBarAnnotationType, text As String, position As Double, Optional color As Color? = Nothing, Optional alignment As HorizontalAlignment = HorizontalAlignment.Center, Optional width As Integer = 100, Optional height As Integer = 2)
| Type | Name | Description |
|---|---|---|
| int | row | Grid row associated with annotation. |
| ScrollBarAnnotationType | scrollBarAnnotationType | Annotation type. |
| string | text | Annotation text. |
| double | position | Annotation vertical position in scrollbar. |
| Color? | color | Annotation color. |
| HorizontalAlignment | alignment | Annotation horizontal alignment in scrollbar. |
| int | width | Annotation width. |
| int | height | Annotation height. |