Click or drag to resize
RadPopupControlBaseCheckMakeLastLocationCorrection Method
Checks whether the current alignment rectangle intersects with the popup's bounds according to a given popup location.

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 CheckMakeLastLocationCorrection(
	Rectangle alignmentRectangle,
	Point proposedLocation,
	Rectangle availableBounds
)

Parameters

alignmentRectangle
Type: System.DrawingRectangle
An instance of the Rectangle struct that represents the current alignment rectangle.
proposedLocation
Type: System.DrawingPoint
An instance of the Point struct that represents the proposed popup location.
availableBounds
Type: System.DrawingRectangle
An instance of the Rectangle struct that represents the available bounds on the screen.

Return Value

Type: Point
An instance of the Point struct that represents the result of the operation.
See Also