0
は私が持っているこのGridViewのグリッドデータをロードするが、非同期要求にデータをロードするために失敗しています私のC#コードで今すぐC#UWPバインディングGridViewTo ansynchronousデータ
<GridView ItemsSource="{x:Bind myInspectedList}"
Grid.Row="1"
Name="dashboard_gridview"
HorizontalAlignment="Center"
>
<GridView.ItemTemplate>
<DataTemplate x:DataType="data:TrucksModel">
<StackPanel
Margin="50,20,50,20"
Orientation="Vertical"
HorizontalAlignment="Center"
>
<TextBlock
Text="{x:Bind driver_name}"
Margin="20,10,0,0"
FontSize="80"
/>
<TextBlock >Testing val</TextBlock>
</StackPanel>
</DataTemplate>
</GridView.ItemTemplate>
</GridView>
。リクエストは、PHPのWebサービスの非同期要求はデータを返しますが、グリッドが
このリンクはあなたに役立ちますhttps://stackoverflow.com/questions/16220843/cant-change-gridview-itemssource – Ben
素晴らしい感謝Ben、それはupdateLayoutではなくitemsourceを設定して動作します –