Class ItemHoldingEventArgs
Provides data for the ItemHold event.
Inheritance
System.Object
ItemHoldingEventArgs
Namespace: Syncfusion.ListView.XForms
Assembly: Syncfusion.SfListView.XForms.dll
Syntax
public class ItemHoldingEventArgs : EventArgs
Constructors
ItemHoldingEventArgs(ItemType, Object, Point)
Initializes a new instance of the ItemHoldingEventArgs class.
Declaration
public ItemHoldingEventArgs(ItemType itemType, object itemData, Point position)
Parameters
Type | Name | Description |
---|---|---|
ItemType | itemType | The item type of the item hold position. |
System.Object | itemData | The item data of the held item. |
Xamarin.Forms.Point | position | The touch position of the held item. |
Properties
Handled
Gets or sets a value indicating whether to handle the event or not.
Declaration
public bool Handled { get; set; }
Property Value
Type |
---|
System.Boolean |
ItemData
Gets the item at the tapped position.
Declaration
public object ItemData { get; }
Property Value
Type | Description |
---|---|
System.Object | An object that represents the item at the tapped position. |
ItemType
Gets the item index at the tapped position.
Declaration
public ItemType ItemType { get; }
Property Value
Type | Description |
---|---|
ItemType | It represents the item index at the tapped position. |
Position
Gets the touch position at the tapped position.
Declaration
public Point Position { get; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Point | An object that represents the touch position at the tapped item. |