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

VerticalAlignedPosition Class

Contains information about a floating object’s vertical position that is aligned to an anchor element.

#Declaration

TypeScript
export class VerticalAlignedPosition

#Properties

#alignment Property

Specifies the floating object’s alignment relative to an anchor element.

#Declaration

TypeScript

#Property Value

Type Description
FloatingObjectVerticalAlignment

The alignment.

#relativeTo Property

Specifies the anchor element relative to the specified position.

#Declaration

TypeScript
relativeTo: FloatingObjectVerticalAnchorElement.Page | FloatingObjectVerticalAnchorElement.Line | FloatingObjectVerticalAnchorElement.Margin | FloatingObjectVerticalAnchorElement.TopMargin | FloatingObjectVerticalAnchorElement.BottomMargin | FloatingObjectVerticalAnchorElement.InsideMargin | FloatingObjectVerticalAnchorElement.OutsideMargin

#Property Value

Type Description
Page

A floating object is aligned to a page.

Line

A floating object is aligned to a line.

Margin

A floating object is aligned to page margins.

TopMargin

A floating object is aligned to the top margin.

BottomMargin

A floating object is aligned to the bottom margin.

InsideMargin

A floating object is aligned to the top margin for odd pages, and the bottom margin for even pages.

OutsideMargin

A floating object is aligned to the bottom margin for odd pages, and the top margin for even pages.

#type Property

Returns the position type.

#Declaration

TypeScript
readonly type = FloatingObjectVerticalPositionType.Aligned

#Property Value

Type Description
Aligned

Returns the Aligned value.