Adding a grid as an item of a ListBox at runtime ends up with an unknown error/crash
问题 In the code below, I am trying to ... Place a TextBlock(txtDays) inside the Grid(mygrid) (as row) Place the Grid inside a ListBox(lsBox) Finally placing the ListBox into another Grid(ContentPanel) The program is just crashing without a proper error, and the emulator stops when I execute this code. If I place the Grid (in 2.) inside a stackPanel or directly into the other Grid (in 3.) without placing it into the ListBox, the code works, but not with a ListBox. Any comments, assistance is