Condividi tramite


TabbedPage.SetIsSwipePagingEnabled Method

Definition

Overloads

SetIsSwipePagingEnabled(BindableObject, Boolean)

Sets a value that controls whether page swiping is enabled to the provided value.

SetIsSwipePagingEnabled(IPlatformElementConfiguration<Android,TabbedPage>, Boolean)

Sets a value that controls whether page swiping is enabled to the provided value.

SetIsSwipePagingEnabled(BindableObject, Boolean)

Source:
TabbedPage.cs
Source:
TabbedPage.cs

Sets a value that controls whether page swiping is enabled to the provided value.

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

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

value
Boolean

The new property value to assign.

Applies to

SetIsSwipePagingEnabled(IPlatformElementConfiguration<Android,TabbedPage>, Boolean)

Source:
TabbedPage.cs
Source:
TabbedPage.cs

Sets a value that controls whether page swiping is enabled to the provided value.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::TabbedPage ^> ^ SetIsSwipePagingEnabled(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::TabbedPage ^> ^ config, bool value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.TabbedPage> SetIsSwipePagingEnabled (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.TabbedPage> config, bool value);
static member SetIsSwipePagingEnabled : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.TabbedPage> * bool -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.TabbedPage>
<Extension()>
Public Function SetIsSwipePagingEnabled (config As IPlatformElementConfiguration(Of Android, TabbedPage), value As Boolean) 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
Boolean

The new property value to assign.

Returns

The configuration that was updated.

Applies to