Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Use GestureRecognizer on a complete Row instead of Cell #114

Open
dasdingo opened this issue Mar 16, 2019 · 5 comments
Open

Use GestureRecognizer on a complete Row instead of Cell #114

dasdingo opened this issue Mar 16, 2019 · 5 comments

Comments

@dasdingo
Copy link

No description provided.

@dasdingo
Copy link
Author

Is it possible to add Gesture Behavior Like Swiping and DoubleTap on a complete row instead of a cell?

@dcraggs
Copy link

dcraggs commented Apr 4, 2019

Adding a GestureRecognizer works on a cell, but how do you get the selected cell? EventArgs are empty. And it doesn't select the row first in Android.

@onlyargon
Copy link

Try writing custom command with commanding parameter

@dasdingo
Copy link
Author

dasdingo commented Apr 5, 2019

If I write custom command, on what should it trigger? I already use custom commands but it will only trigger on the complete grid. I would need to give the swiped row as a parameter to the command, but due to the fact that it is not selected when swiping the grid, I don't know how to do that.

@njale
Copy link

njale commented Feb 10, 2020

Add a usercontrol that inherits from the control you want to use in grid, on that add custom property that binds to the containing row. I have only labels in my Grid, so I only used one custom control that inherits from Label.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants