Class SwipeView
Represents the swipe view in the SfListView control.
Inheritance
System.Object
SwipeView
Namespace: Syncfusion.ListView.XForms
Assembly: Syncfusion.SfListView.XForms.dll
Syntax
public class SwipeView : ContentView, IVisibility, IDisposable
Constructors
SwipeView(SfListView)
Initializes a new instance of the SwipeView class.
Declaration
public SwipeView(SfListView listView)
Parameters
Type | Name | Description |
---|---|---|
SfListView | listView | The SfListView instance. |
Properties
Visibility
Gets or sets a value indicating whether the visibility of SwipeView is true or not.
Declaration
public bool Visibility { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
Dispose()
Disposes all available resources.
Declaration
public void Dispose()
Dispose(Boolean)
Disposes the instances, if the parameter is set to true.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Represents the boolean value for disposing objects. |
ShouldInvalidateOnChildAdded(View)
Method to decide whether to call Xamarin.Forms.VisualElement.InvalidateMeasure or not.
Declaration
protected override bool ShouldInvalidateOnChildAdded(View child)
Parameters
Type | Name | Description |
---|---|---|
Xamarin.Forms.View | child | The content of the SwipeView. |
Returns
Type | Description |
---|---|
System.Boolean | A boolean value to decide whether to invalidate when adding a child. |
ShouldInvalidateOnChildRemoved(View)
Method to decide whether to call Xamarin.Forms.VisualElement.InvalidateMeasure or not.
Declaration
protected override bool ShouldInvalidateOnChildRemoved(View child)
Parameters
Type | Name | Description |
---|---|---|
Xamarin.Forms.View | child | The content of the SwipeView. |
Returns
Type | Description |
---|---|
System.Boolean | A boolean value to decide whether to invalidate when removing a child. |
Implements
System.IDisposable