View.GetWindowVisibleDisplayFrame(Rect) View.GetWindowVisibleDisplayFrame(Rect) Method

Definition

Retrieve the overall visible display size in which the window this view is attached to has been positioned in.

[Android.Runtime.Register("getWindowVisibleDisplayFrame", "(Landroid/graphics/Rect;)V", "GetGetWindowVisibleDisplayFrame_Landroid_graphics_Rect_Handler", ApiSince=3)]
public virtual void GetWindowVisibleDisplayFrame (Android.Graphics.Rect outRect);
abstract member GetWindowVisibleDisplayFrame : Android.Graphics.Rect -> unit
override this.GetWindowVisibleDisplayFrame : Android.Graphics.Rect -> unit

Parameters

outRect
Rect Rect

Filled in with the visible display frame. If the view is not attached to a window, this is simply the raw display size.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to