Window.SetDefaultWindowFormat(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
根據 PixelFormat 類型設定視窗的預設格式。
[Android.Runtime.Register("setDefaultWindowFormat", "(I)V", "GetSetDefaultWindowFormat_IHandler")]
protected virtual void SetDefaultWindowFormat(int format);
[<Android.Runtime.Register("setDefaultWindowFormat", "(I)V", "GetSetDefaultWindowFormat_IHandler")>]
abstract member SetDefaultWindowFormat : int -> unit
override this.SetDefaultWindowFormat : int -> unit
參數
- format
- Int32
新的視窗格式(參見 PixelFormat)。
- 屬性
備註
根據 PixelFormat 類型設定視窗的預設格式。 除非用戶端以 setFormat() 明確指定,否則會使用此格式;
Java 文件 android.view.Window.setDefaultWindowFormat(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。