Class ListViewHelper
The iOS platform specific implementation of SfListView control's effects.
Inheritance
Namespace: Syncfusion.SfListView.XForms.PlatformConfiguration.iOSSpecific
Assembly: Syncfusion.SfListView.XForms.dll
Syntax
public static class ListViewHelper : Object
Fields
BouncesProperty
Gets or sets a value that enables/disables the bouncing when list view reaches its scroll extents in iOS.
Declaration
public static readonly BindableProperty BouncesProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Methods
GetBounces(BindableObject)
Enables/disables the bouncing when list view reaches its scroll extents in iOS.
Declaration
public static bool GetBounces(BindableObject element)
Parameters
Type | Name | Description |
---|---|---|
Xamarin.Forms.BindableObject | element | The scroll view instance. |
Returns
Type |
---|
System.Boolean |
IsBouncingEnabled(IPlatformElementConfiguration<iOS, Grid>)
Gets a value that indicates whether bouncing is enabled/disabled when list view reaches its scroll extents in iOS.
Declaration
public static bool IsBouncingEnabled(this IPlatformElementConfiguration<iOS, Grid> config)
Parameters
Type | Name | Description |
---|---|---|
Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.Grid> | config | The effect's configuration obtained from the framework. |
Returns
Type | Description |
---|---|
System.Boolean | A bool value that indicates whether bouncing is enabled/disabled when list view reaches its scroll extents in iOS. |
SetBounces(BindableObject, Boolean)
Enables/disables the bouncing when list view reaches its scroll extents in iOS.
Declaration
public static void SetBounces(BindableObject element, bool value)
Parameters
Type | Name | Description |
---|---|---|
Xamarin.Forms.BindableObject | element | The scroll view instance. |
System.Boolean | value | A bool value that indicates whether bouncing should be enabled/disabled when list view reaches its scroll extents in iOS. |
SetBounces(IPlatformElementConfiguration<iOS, Grid>, Boolean)
Enables/disables the bouncing when list view reaches its scroll extents in iOS.
Declaration
public static IPlatformElementConfiguration<iOS, Grid> SetBounces(this IPlatformElementConfiguration<iOS, Grid> config, bool value)
Parameters
Type | Name | Description |
---|---|---|
Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.Grid> | config | The effect's configuration obtained from the framework. |
System.Boolean | value | A bool value that indicates whether bouncing should be enabled/disabled when list view reaches its scroll extents in iOS. |
Returns
Type | Description |
---|---|
Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.Grid> | The effect's configuration obtained from the frameworks. |