Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
515
xamgrid binding into XamTileView
posted

Hello, if I put the XamGrid into TilePane the ItemSource give me an error:

Riferimento a un oggetto non impostato su un'istanza di oggetto.

If put then XamGrid outer of TilePane the ItemSource is Ok

This is the Code:

<ig:XamTileView ColumnsInPage="2" RowsInPage="2" Name="tlOre">
<ig:TilePane Header="Fascia oraria" Name="tpOre" >
<ig:XamGrid Name="dgOre" AutoGenerateColumns="False" VerticalAlignment="Stretch">
<ig:XamGrid.Columns>
<ig:TextColumn HeaderText="Ora" Key="Descrizione"/>
<ig:TextColumn HeaderText="Venduto" Key="Valore"/>
</ig:XamGrid.Columns>
</ig:XamGrid>
</ig:XamTileView>

VB

 

 

 

Private Sub mService_GetFasciaOrariaCompleted(ByVal sender As Object, ByVal e As ServiceReference1.GetFasciaOrariaCompletedEventArgs) Handles mService.GetFasciaOrariaCompleted

dgOre.ItemSource = e.Results

End sub

Thank you

Alessandro

(italy)