TabbedPage 类

定义

Xamarin.Forms 在 Android 平台上创建的选项卡式页实例。

public static class TabbedPage
type TabbedPage = class
继承
System.Object
TabbedPage

字段

BarItemColorProperty
已过时.

控制栏项颜色的附加属性的后备存储。

BarSelectedItemColorProperty
已过时.

控制选定栏项颜色的附加属性的后备存储。

IsSmoothScrollEnabledProperty

IsSmoothScrollEnabled(IPlatformElementConfiguration<Android,TabbedPage>) 属性关联的 BindableProperty

IsSwipePagingEnabledProperty

IsSwipePagingEnabled(IPlatformElementConfiguration<Android,TabbedPage>) 属性的后备存储。

OffscreenPageLimitProperty

附加的屏幕外页面限制属性的后备存储。

ToolbarPlacementProperty

用于控制工具栏位置的附加属性的后备存储。

方法

DisableSmoothScroll(IPlatformElementConfiguration<Android,TabbedPage>)

关闭 的 thisTabbedPage平滑滚动。

DisableSwipePaging(IPlatformElementConfiguration<Android,TabbedPage>)

禁用轻扫分页。

EnableSmoothScroll(IPlatformElementConfiguration<Android,TabbedPage>)

thisTabbedPage启用平滑滚动。

EnableSwipePaging(IPlatformElementConfiguration<Android,TabbedPage>)

启用轻扫分页。

GetBarItemColor(BindableObject)
已过时.

返回栏项的颜色。

GetBarItemColor(IPlatformElementConfiguration<Android,TabbedPage>)
已过时.

返回栏项的颜色。

GetBarSelectedItemColor(BindableObject)
已过时.

返回选定栏项的颜色。

GetBarSelectedItemColor(IPlatformElementConfiguration<Android,TabbedPage>)
已过时.

返回选定栏项的颜色。

GetIsSmoothScrollEnabled(BindableObject)

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

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>)

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

SetBarItemColor(BindableObject, Color)
已过时.

设置栏项的颜色。

SetBarItemColor(IPlatformElementConfiguration<Android,TabbedPage>, Color)
已过时.

设置栏项的颜色。

SetBarSelectedItemColor(BindableObject, Color)
已过时.

设置选定栏项的颜色。

SetBarSelectedItemColor(IPlatformElementConfiguration<Android,TabbedPage>, Color)
已过时.

设置选定栏项的颜色。

SetIsSmoothScrollEnabled(BindableObject, Boolean)

在 上启用或禁用平滑滚动。

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)

设置工具栏位置。

适用于