ListView.SetIsFastScrollEnabled 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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>
参数
特定于平台的配置,包含要对其执行操作的元素。
- value
- System.Boolean
要分配的新属性值。
返回
更新的配置对象,可对该对象调用更多方法。