Update GridDynamicPage.xaml.cs