Click or drag to resize
RadPopupControlBaseOnAlternativeXLocationNeeded Method
This method is executed when the popup needs to receive manual horizontal alignment. This can happen when there is no reasonable possibility for the alignment routines to define a proper horizontal position for the popup. In this way the developer is enabled to define a horizontal 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 OnAlternativeXLocationNeeded(
	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