Condividi tramite


TabbedPage.SetOffscreenPageLimit Method

Definition

Overloads

SetOffscreenPageLimit(BindableObject, Int32)

Sets the number of off-screen pages that are stored in memory to the provided value.

SetOffscreenPageLimit(IPlatformElementConfiguration<Android,TabbedPage>, Int32)

Sets the number of off-screen pages that are stored in memory to the provided value.

SetOffscreenPageLimit(BindableObject, Int32)

Source:
TabbedPage.cs
Source:
TabbedPage.cs

Sets the number of off-screen pages that are stored in memory to the provided value.

public:
 static void SetOffscreenPageLimit(Microsoft::Maui::Controls::BindableObject ^ element, int value);
public static void SetOffscreenPageLimit (Microsoft.Maui.Controls.BindableObject element, int value);
static member SetOffscreenPageLimit : Microsoft.Maui.Controls.BindableObject * int -> unit
Public Sub SetOffscreenPageLimit (element As BindableObject, value As Integer)

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

value
Int32

The new property value to assign.

Applies to

SetOffscreenPageLimit(IPlatformElementConfiguration<Android,TabbedPage>, Int32)

Source:
TabbedPage.cs
Source:
TabbedPage.cs

Sets the number of off-screen pages that are stored in memory to the provided value.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::TabbedPage ^> ^ SetOffscreenPageLimit(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::TabbedPage ^> ^ config, int value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.TabbedPage> SetOffscreenPageLimit (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.TabbedPage> config, int value);
static member SetOffscreenPageLimit : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.TabbedPage> * int -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.TabbedPage>
<Extension()>
Public Function SetOffscreenPageLimit (config As IPlatformElementConfiguration(Of Android, TabbedPage), value As Integer) As IPlatformElementConfiguration(Of Android, TabbedPage)

Parameters

config
IPlatformElementConfiguration<Android,TabbedPage>

The platform specific configuration that contains the element on which to perform the operation.

value
Int32

The new property value to assign.

Returns

The configuration that was updated.

Applies to