Click or drag to resize
RadPopupControlBaseGetCorrectedVerticalLocation Method
Calculates the vertical position of the popup according to the current VerticalPopupAlignment and AlignmentCorrectionMode.

Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI (in Telerik.WinControls.UI.dll) Version: 2018.2.619.40 (2018.2.619.40)
Syntax
protected virtual Point GetCorrectedVerticalLocation(
	Screen currentScreen,
	Rectangle alignmentRectangle,
	Point calculatedLocation
)

Parameters

currentScreen
Type: System.Windows.FormsScreen
The screen in which the popup will be aligned.
alignmentRectangle
Type: System.DrawingRectangle
The alignment rectangle of the popup.
calculatedLocation
Type: System.DrawingPoint
The calculated location that will be corrected if needed.

Return Value

Type: Point
An integer that represents the corrected vertical location of the popup
See Also