View.WindowToken Property

Definition

Retrieve a unique token identifying the window this view is attached to.

public virtual Android.OS.IBinder? WindowToken { [Android.Runtime.Register("getWindowToken", "()Landroid/os/IBinder;", "GetGetWindowTokenHandler")] get; }
[<get: Android.Runtime.Register("getWindowToken", "()Landroid/os/IBinder;", "GetGetWindowTokenHandler")>]
member this.WindowToken : Android.OS.IBinder

Property Value

Return the window's token for use in WindowManager.LayoutParams#token WindowManager.LayoutParams.token.

Attributes

Remarks

Retrieve a unique token identifying the window this view is attached to.

Java documentation for android.view.View.getWindowToken().

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