Window.SetType(WindowManagerTypes) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
依照 WindowManager 設定視窗類型。
[Android.Runtime.Register("setType", "(I)V", "GetSetType_IHandler")]
public virtual void SetType(Android.Views.WindowManagerTypes type);
[<Android.Runtime.Register("setType", "(I)V", "GetSetType_IHandler")>]
abstract member SetType : Android.Views.WindowManagerTypes -> unit
override this.SetType : Android.Views.WindowManagerTypes -> unit
參數
- type
- WindowManagerTypes
新的視窗類型(參見 WindowManager.LayoutParams)。
- 屬性
備註
設定視窗的類型,依照 WindowManager.LayoutParams 的類型。
Java 文件 android.view.Window.setType(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。