Hello,
I hope someone can help me. I want to make table using Grid (or smth else?) and drag/move/drop elements between cells. So, I want to know where is each element now (elements — rectangles, i think; each rectangle equals cell size).
For example: User opens my app and sees the field divided into squares. After that he drags element (they are located around of field; they can be placed in cells too, but user doesnt see that, because only main field (and its cells) have borders) to
cell and (if it is empty) drops element to this cell. Then I can get coordinates (or smth similar) of this element in table.
So, what I need to use for it? Grid? And how to move elements? I tried to use ManipulationDelta.. but dont know how I can fix element in cell and get its coordinates.
I try to create game Pentomino using XAML/C# for Windows 8.1. If you have some idea about it, please, help me and tell about.
P. S.: Sorry for mistakes. I'm newbie in C#/XAML from Russia. Thank you for your patience.