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

Новое значение, которое необходимо присвоить свойству.

Возвращаемое значение

Конфигурация, которая была обновлена.

Применяется к