Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxScrollbarAnnotationAlignment Enum

Enumerates available scrollbar annotation alignments.

#Declaration

Delphi
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