This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
In MainPage.xaml.cs This code give me null in mail ( NullReferenceException), it is bug?
|
|
|
Hi Jarko This looks like a bug in WinRT. If I try this, I can also see that "mail" is null, but then when I debug it, I can see that TileGrid.TileGroups[0].Tiles[0] is not null - it is a Tile object called "mail". I have not been able to find out why this is occurring, so if you need to access the items in code behind, I recommend starting from the TileGrid control and then using the TileGroups property to find the right TileGroup, and then use its Tiles property to find the right Tile. e.g. MyTileGrid.TileGroups[0].Tiles[0] Jason Fauchelle |
|