OnNavigatedTo Too Soon To Add Grid Children
In the process of porting my Windows Phone code to Windows 8 (Store App), I came across this interesting problem. FrameworkElement FieldView = Field.getView( true ); ContentPanel.Children.Add( FieldView ); Panel theParent = VisualTreeHelper.GetParent(FieldView) as Panel; FrameworkElement theotherparent = (FrameworkElement)FieldView.Parent; When I call this code in the OnNavigatedTo event…
Continue reading