Click or drag to resize
RadPopupControlBaseOnAlternativeYLocationNeeded Method
This method is executed when the popup needs to receive manual vertical alignment. This can happen when there is no reasonable possibility for the alignment routines to define a proper vertical position for the popup. In this way the developer is enabled to define a vertical position according to their preferences.

Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI (in Telerik.WinControls.UI.dll) Version: 2018.1.220.40 (2018.1.220.40)
protected virtual Point OnAlternativeYLocationNeeded(
	Rectangle alignmentRectangle,
	Point proposedLocation,
	Rectangle availableBounds


Type: System.DrawingRectangle
The proposed alignment rectangle with screen coordinates.
Type: System.DrawingPoint
The proposed coordinates
Type: System.DrawingRectangle
The proposed available space for the popup.

Return Value

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