Find column index from TapRecogniser command on Grid

I have a Grid that has a TapRecogniser on and I would like to find what column was clicked when the user taps the Grid.

I know that XLabs has a GridView that has an itemSelected command but the entire control is broken (doesnt seem to bind to the ItemsSource).

Is there any way to achieve this?

Best Answer

Answers

  • Maharshi.5212Maharshi.5212 ✭✭ USMember ✭✭

    You can Use grid.ColumnDefinitions.IndexOf(ColumDefinition Item)
    See If it Works.

  • David_PilkingtonDavid_Pilkington USUniversity

    @Maharshi.5212 How would I get the Column Definition from the tap event? It is the same problem

Sign In or Register to comment.