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.3.911.40 (2018.3.911.40)
Syntax
protected virtual Point OnAlternativeYLocationNeeded(
	Rectangle alignmentRectangle,
	Point proposedLocation,
	Rectangle availableBounds
)

Parameters

alignmentRectangle
Type: System.DrawingRectangle
The proposed alignment rectangle with screen coordinates.
proposedLocation
Type: System.DrawingPoint
The proposed coordinates
availableBounds
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