Click or drag to resize
RadPopupControlBaseGetCorrectedLocation Method (Screen, Rectangle)
This method returns a point which defines the position of the popup. By default, aligns the popup based on the alignmentRectangle and the current alignment settings. You can adjust the alignment settings by settin the HorizontalPopupAlignment and VerticalPopupAlignment properties.

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

Parameters

currentScreen
Type: System.Windows.FormsScreen
An instance of the Screen class that represents the screen where the popup is about to be positioned.
alignmentRectangle
Type: System.DrawingRectangle
The alignment rectangle based on which the popup is aligned.

Return Value

Type: Point
An instance of the Point struct that represents the calculated position of the popup.
See Also