IWindowManager IWindowManager Interface


The interface that apps use to talk to the window manager.

[Android.Runtime.Register("android/view/WindowManager", "", "Android.Views.IWindowManagerInvoker", ApiSince=1)]
public interface IWindowManager : Android.Views.IViewManager, IDisposable
type IWindowManager = interface
    interface IViewManager
    interface IJavaObject
    interface IDisposable


Android platform documentation

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.


DefaultDisplay DefaultDisplay

Returns the Display upon which this IWindowManager instance will create new windows.

Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)


AddView(View, ViewGroup+LayoutParams) AddView(View, ViewGroup+LayoutParams)

Assign the passed LayoutParams to the passed View and add the view to the window.

(Inherited from IViewManager)
RemoveView(View) RemoveView(View) Inherited from IViewManager
RemoveViewImmediate(View) RemoveViewImmediate(View)

Special variation of RemoveView(View) that immediately invokes the given view hierarchy's OnDetachedFromWindow() methods before returning.

UpdateViewLayout(View, ViewGroup+LayoutParams) UpdateViewLayout(View, ViewGroup+LayoutParams) Inherited from IViewManager

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Applies to