Skip to main content

TdxScrollbarAnnotationAlignment Enum

Enumerates available scrollbar annotation alignments.

Declaration

TdxScrollbarAnnotationAlignment = (
    saaNear,
    saaCenter,
    saaFar,
    saaClient
);

Members

Name
saaNear
saaCenter
saaFar
saaClient

Remarks

Options include:

Value

Description

Example

saaNear

Annotation marks are aligned to:

  • A vertical scrollbar’s left border. An annotation’s Offset positive property value shifts annotation marks towards the right scrollbar border.

  • A horizontal scrollbar’s top border. An annotation’s Offset positive property value shifts annotation marks down, towards the bottom scrollbar border.

Note

A negative Offset property value is ignored. An annotation mark cannot shift outside the scrollbar area.

saaCenter

Annotation marks are centered between:

  • A vertical scrollbar’s left and right borders.

  • A horizontal scrollbar’s top and bottom borders.

Use an annotation’s Offset property to adjust the annotation mark position between scrollbar borders.

saaFar

Annotation marks are aligned to:

  • A vertical scrollbar’s right border. An annotation’s Offset negative property value shifts annotation marks towards the left scrollbar border.

  • A horizontal scrollbar’s bottom border. An annotation’s Offset negative property value shifts annotation marks down, towards the bottom scrollbar border.

Note

A positive Offset property value is ignored. An annotation mark cannot shift outside the scrollbar area.

saaClient

An annotation’s Width and Offset property values are ignored. An annotation mark occupies an entire:

  • Vertical scrollbar by width.

  • Horizontal scrollbar by height.

The TdxCustomScrollbarAnnotation.Alignment property and the TdxScrollbarAnnotationStyle.Alignment field reference the TdxScrollbarAnnotationAlignment type.

See Also