TabbedPage.GetMaxItemCount 方法

定义

重载

GetMaxItemCount(BindableObject)

返回允许的最大项数。

GetMaxItemCount(IPlatformElementConfiguration<Android,TabbedPage>)

返回允许的最大项数。

GetMaxItemCount(BindableObject)

返回允许的最大项数。

public static int GetMaxItemCount (Xamarin.Forms.BindableObject element);
static member GetMaxItemCount : Xamarin.Forms.BindableObject -> int

参数

element
BindableObject

要对其执行操作的特定于平台的元素。

返回

System.Int32

允许的最大项数。

适用于

GetMaxItemCount(IPlatformElementConfiguration<Android,TabbedPage>)

返回允许的最大项数。

public static int GetMaxItemCount (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.TabbedPage> config);
static member GetMaxItemCount : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.TabbedPage> -> int

参数

config
IPlatformElementConfiguration<Android,TabbedPage>

要对其执行操作的元素的特定于平台的配置。

返回

System.Int32

允许的最大项数。

适用于