TabbedPage.SetOffscreenPageLimit 方法

定義

多載

SetOffscreenPageLimit(BindableObject, Int32)

將儲存在記憶體中的幕後頁數設為所提供 value

SetOffscreenPageLimit(IPlatformElementConfiguration<Android,TabbedPage>, Int32)

將儲存在記憶體中的幕後頁數設為所提供 value

SetOffscreenPageLimit(BindableObject, Int32)

將儲存在記憶體中的幕後頁數設為所提供 value

public static void SetOffscreenPageLimit (Xamarin.Forms.BindableObject element, int value);
static member SetOffscreenPageLimit : Xamarin.Forms.BindableObject * int -> unit

參數

element
BindableObject

要對其執行作業的平台特定項目。

value
System.Int32

要指派的新屬性值。

適用於

SetOffscreenPageLimit(IPlatformElementConfiguration<Android,TabbedPage>, Int32)

將儲存在記憶體中的幕後頁數設為所提供 value

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.TabbedPage> SetOffscreenPageLimit (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.TabbedPage> config, int value);
static member SetOffscreenPageLimit : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.TabbedPage> * int -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.TabbedPage>

參數

config
IPlatformElementConfiguration<Android,TabbedPage>

平台特定組態,包含要對其執行作業的項目。

value
System.Int32

要指派的新屬性值。

傳回

已更新的組態。

適用於