In the case of adding an Event Action to the On Item Selection Event of a List View or a Grid View, there will be an extra option available during Binding of a parameter. The Selected Item option allows you to bind a parameter based on the user’s selection during the execution of the Event. For example, you can use either the index of the row the user selected or the Data Type assigned to the selected Cell.
You can bind the value of the parameter to the index/position of the selected Cell.
An Int which has the value of the Row of the List View or the Grid View.
Note: index starts from 0, so the first row has index 0, and the 10th row has index 9.
An Int which has the value of the Section of the List View or the Grid View.
Note: index starts from 0, so the first section has index 0, and the 10th section has index 9.
Tip: List View and Grid View usually have one section, the 0.
You can bind a parameter to the properties of the selected Cell. For example, suppose you need to navigate to a User Details Screen for a List of Followers Screen. In that case, you will use the selected Cell’s User property to pass it to the User Details Screen.