TabbedPage.GetMaxItemCount 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
要对其执行操作的元素的特定于平台的配置。
返回
System.Int32
允许的最大项数。