語言

Window.SetDefaultWindowFormat(Int32) 方法

定義

根據 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 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

另請參閱