Android.Widget.PopupWindow.Update Method

Syntax

[Android.Runtime.Register("update", "(IIIIZ)V", "GetUpdate_IIIIZHandler")]
public virtual void Update (int x, int y, int width, int height, bool force)

Parameters

x
the new x location
y
the new y location
width
the new width, can be -1 to ignore
height
the new height, can be -1 to ignore
force
reposition the window even if the specified position already seems to correspond to the LayoutParams

Remarks

Updates the position and the dimension of the popup window. Width and height can be set to -1 to update location only. Calling this function also updates the window with the current popup state as described for PopupWindow.Update.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3