ListView.SetIsFastScrollEnabled 方法

定义

重载

SetIsFastScrollEnabled(BindableObject, Boolean)

设置附加属性,用于控制是否启用快速滚动。

SetIsFastScrollEnabled(IPlatformElementConfiguration<Android,ListView>, Boolean)

设置附加属性,用于控制是否启用快速滚动。

SetIsFastScrollEnabled(BindableObject, Boolean)

设置附加属性,用于控制是否启用快速滚动。

public static void SetIsFastScrollEnabled (Xamarin.Forms.BindableObject element, bool value);
static member SetIsFastScrollEnabled : Xamarin.Forms.BindableObject * bool -> unit

参数

element
BindableObject

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

value
System.Boolean

要分配的新属性值。

适用于

SetIsFastScrollEnabled(IPlatformElementConfiguration<Android,ListView>, Boolean)

设置附加属性,用于控制是否启用快速滚动。

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.ListView> SetIsFastScrollEnabled (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.ListView> config, bool value);
static member SetIsFastScrollEnabled : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.ListView> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.ListView>

参数

config
IPlatformElementConfiguration<Android,ListView>

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

value
System.Boolean

要分配的新属性值。

返回

更新的配置对象,可对该对象调用更多方法。

适用于