Enum
AlignmentCorrectionMode

Defines the popup alignment correction mode. The values of this enumerator define how the popup alignment is adjusted when the default aligning routine is not able to properly position the popup due to lack of screen space.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public enum AlignmentCorrectionMode

Fields

None

No adjustments to the coordinates are applied.

Declaration

cs-api-definition
None = 0

Field Value

AlignmentCorrectionMode

Smooth

The coordinates are adjusted with the needed amount so that the popup remains visible in the current screen.

Declaration

cs-api-definition
Smooth = 1

Field Value

AlignmentCorrectionMode

SnapToEdges

The coordinates are adjusted with the needed amount so that the popup remains visible in the current screen, whereby the popup edge is aligned with an edge of the alignment rectangle.

Declaration

cs-api-definition
SnapToEdges = 2

Field Value

AlignmentCorrectionMode

SnapToOuterEdges

The coordinates are adjusted with the needed amount so that the popup remains visible in the current screen, whereby the popup edge is aligned with an outer edge of the alignment rectangle. The popup does not cross the alignment rectangle bounds.

Declaration

cs-api-definition
SnapToOuterEdges = 3

Field Value

AlignmentCorrectionMode