TabbedPage 类

定义

Microsoft.Maui.Controls 在 Android 平台上创建的选项卡式页面实例。

public ref class TabbedPage abstract sealed
public static class TabbedPage
type TabbedPage = class
Public Module TabbedPage
继承
TabbedPage

字段

IsSmoothScrollEnabledProperty

IsSmoothScrollEnabled(IPlatformElementConfiguration<Android,TabbedPage>)可绑定属性。

IsSwipePagingEnabledProperty

IsSwipePagingEnabled(IPlatformElementConfiguration<Android,TabbedPage>)可绑定属性。

OffscreenPageLimitProperty

OffscreenPageLimit(IPlatformElementConfiguration<Android,TabbedPage>)可绑定属性。

ToolbarPlacementProperty

ToolbarPlacement可绑定属性。

方法

DisableSmoothScroll(IPlatformElementConfiguration<Android,TabbedPage>)

关闭 的 thisTabbedPage平滑滚动。

DisableSwipePaging(IPlatformElementConfiguration<Android,TabbedPage>)

禁用轻扫分页。

EnableSmoothScroll(IPlatformElementConfiguration<Android,TabbedPage>)

thisTabbedPage启用平滑滚动。

EnableSwipePaging(IPlatformElementConfiguration<Android,TabbedPage>)

启用轻扫分页。

GetIsSmoothScrollEnabled(BindableObject)

获取是否为 element启用平滑滚动。

GetIsSwipePagingEnabled(BindableObject)

返回一个布尔值,该值指示是否启用轻扫分页。

GetMaxItemCount(BindableObject)

返回允许的最大项数。

GetMaxItemCount(IPlatformElementConfiguration<Android,TabbedPage>)

返回允许的最大项数。

GetOffscreenPageLimit(BindableObject)

返回缓存在内存中的屏幕外页数。

GetToolbarPlacement(BindableObject)

返回工具栏位置。

GetToolbarPlacement(IPlatformElementConfiguration<Android,TabbedPage>)

返回工具栏位置。

IsSmoothScrollEnabled(IPlatformElementConfiguration<Android,TabbedPage>)

获取是否为 thisTabbedPage启用平滑滚动。

IsSwipePagingEnabled(IPlatformElementConfiguration<Android,TabbedPage>)

获取一个布尔值,用于控制是否启用轻扫分页。

OffscreenPageLimit(IPlatformElementConfiguration<Android,TabbedPage>)

返回缓存在内存中的屏幕外页数。

SetIsSmoothScrollEnabled(BindableObject, Boolean)

启用或禁用上的 element平滑滚动。

SetIsSmoothScrollEnabled(IPlatformElementConfiguration<Android,TabbedPage>, Boolean)

启用或禁用上的 thisTabbedPage平滑滚动。

SetIsSwipePagingEnabled(BindableObject, Boolean)

将控制是否启用页面轻扫的值设置为提供的 value

SetIsSwipePagingEnabled(IPlatformElementConfiguration<Android,TabbedPage>, Boolean)

将控制是否启用页面轻扫的值设置为提供的 value

SetOffscreenPageLimit(BindableObject, Int32)

将存储在内存中的屏幕外页数设置为提供的 value

SetOffscreenPageLimit(IPlatformElementConfiguration<Android,TabbedPage>, Int32)

将存储在内存中的屏幕外页数设置为提供的 value

SetToolbarPlacement(BindableObject, ToolbarPlacement)

设置工具栏位置。

SetToolbarPlacement(IPlatformElementConfiguration<Android,TabbedPage>, ToolbarPlacement)

设置工具栏位置。

适用于