语言

PopupWindow.WindowLayoutType 属性

定义

返回此窗口的布局类型。 - 或 - 设置此窗口的布局类型。

public virtual Android.Views.WindowManagerTypes WindowLayoutType { [Android.Runtime.Register("getWindowLayoutType", "()I", "GetGetWindowLayoutTypeHandler", ApiSince=23)] get; [Android.Runtime.Register("setWindowLayoutType", "(I)V", "GetSetWindowLayoutType_IHandler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("getWindowLayoutType", "()I", "GetGetWindowLayoutTypeHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setWindowLayoutType", "(I)V", "GetSetWindowLayoutType_IHandler", ApiSince=23)>]
member this.WindowLayoutType : Android.Views.WindowManagerTypes with get, set

属性值

此窗口的布局类型。

特性

注解

属性 getter 文档:

返回此窗口的布局类型。

Java文档android.widget.PopupWindow.getWindowLayoutType()。

属性 setter 文档:

设置此窗口的布局类型。

请参阅 WindowManager.LayoutParams#type 可能的值。

Java文档android.widget.PopupWindow.setWindowLayoutType(int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于