Method GetAdjustedPosition
GetAdjustedPosition(View, Point)
Calculates an adjusted screen-relative position for the content view to ensure full visibility.
protected virtual Point GetAdjustedPosition(View view, Point idealLocation)
Parameters
Returns
- Point
The adjusted screen-relative position that ensures maximum visibility.
Remarks
This method adjusts the position to keep the view fully visible on screen, considering screen boundaries.