語言

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

屬性值

int :此視窗的版面類型。

屬性

備註

財產取得者文件:

回傳此視窗的版面類型。

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

屬性設定文件:

為此視窗設定版面類型。

請參閱 WindowManager.LayoutParams#type 可能的數值。

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

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於