File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Microsoft.Toolkit.Uwp.SampleApp Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -209,9 +209,9 @@ protected override async void OnNavigatedTo(NavigationEventArgs e)
209209 method . Invoke ( SamplePage , new object [ ] { e } ) ;
210210 }
211211 }
212- catch
212+ catch ( Exception ex )
213213 {
214- ExceptionNotification . Show ( "Sample Page failed to load." ) ;
214+ ExceptionNotification . Show ( "Sample Page failed to load: " + ex . Message ) ;
215215 }
216216
217217 if ( SamplePage != null )
Original file line number Diff line number Diff line change 600600 Foreground =" DarkRed"
601601 Glyph ="  " />
602602
603- <ContentPresenter Grid.Column=" 1"
603+ <ContentPresenter x : Name =" PART_Presenter"
604+ Grid.Column=" 1"
604605 HorizontalAlignment =" {TemplateBinding HorizontalAlignment}"
605- VerticalAlignment =" Center "
606+ VerticalAlignment =" {TemplateBinding VerticalContentAlignment} "
606607 HorizontalContentAlignment =" Stretch"
607608 VerticalContentAlignment =" Center"
609+ ContentTransitions =" {TemplateBinding ContentTransitions}"
610+ FontWeight =" SemiBold"
608611 TextWrapping =" WrapWholeWords" />
609612
610613 <Button x : Name =" PART_DismissButton"
611- Grid.Column=" 3 "
614+ Grid.Column=" 2 "
612615 Margin =" 10,0,-10,0"
613616 AutomationProperties.Name=" Dismiss"
614617 Content ="  "
You can’t perform that action at this time.
0 commit comments