Events

The RadListView component exposes the following events:

Item events

  • ItemTapped - occurs when an item is tapped. The ItemTapped event handler receives two parameters:

    • The sender argument which is of type object, but can be cast to the RadListView type.
    • An ItemTapEventArgs object which has a reference to the tapped item through its Item property.
  • ItemHold - occurs when the end user is holding on a specific item. The ItemHold event handler receives two parameters:

    • The sender argument which is of type object, but can be cast to the RadListView type.
    • An ItemHoldEventArgs object which has a reference to the held item through its Item property.

Selection events

  • SelectionChanged - occurs when the SelectionItems collection is updated. The SelectionChanged event handler receives two parameters:
    • The sender argument which is of type object, but can be cast to the RadListView type.
    • A NotifyCollectionChangedEventArgs object which provides information on the collection changed event. For more details check here.

Group/Reorder events

  • GroupHeaderTapped - occurs when a group header of a grouped ListView is tapped. The GroupHeaderTapped event handler receives two parameters:

    • The sender argument which is of type object, but can be cast to the RadListView type.
    • A GroupHeaderTapEventArgs object which provides the following properties:
      • Key - gets the specific key for the group;
      • Items - gets the child items of the group;
  • ReorderStarting - occurs when a reorder operation is about to start. The ReorderStarting event handler receives two parameters:

    • The sender argument which is of type object, but can be cast to the RadListView type.
    • A ReorderStartingEventArgs object provides the following properties:
      • Item - gets the item that is about to be dragged;
      • Cancel - boolean property which can be used to cancel the reorder operation;
  • ReorderEnded - occurs when a reorder operation has ended. The ReorderEnded event handler receives two parameters:

    • The sender argument which is of type object, but can be cast to the RadListView type.
    • A ReorderEndedEventArgs object which has a reference to the item that was reordered through its Item property;

You could also check the events related to the cell swiping feature here.

See Also

Selection

Grouping

Reordering

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy