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)
209
209
method . Invoke ( SamplePage , new object [ ] { e } ) ;
210
210
}
211
211
}
212
- catch
212
+ catch ( Exception ex )
213
213
{
214
- ExceptionNotification . Show ( "Sample Page failed to load." ) ;
214
+ ExceptionNotification . Show ( "Sample Page failed to load: " + ex . Message ) ;
215
215
}
216
216
217
217
if ( SamplePage != null )
Original file line number Diff line number Diff line change 600
600
Foreground =" DarkRed"
601
601
Glyph ="  " />
602
602
603
- <ContentPresenter Grid.Column=" 1"
603
+ <ContentPresenter x : Name =" PART_Presenter"
604
+ Grid.Column=" 1"
604
605
HorizontalAlignment =" {TemplateBinding HorizontalAlignment}"
605
- VerticalAlignment =" Center "
606
+ VerticalAlignment =" {TemplateBinding VerticalContentAlignment} "
606
607
HorizontalContentAlignment =" Stretch"
607
608
VerticalContentAlignment =" Center"
609
+ ContentTransitions =" {TemplateBinding ContentTransitions}"
610
+ FontWeight =" SemiBold"
608
611
TextWrapping =" WrapWholeWords" />
609
612
610
613
<Button x : Name =" PART_DismissButton"
611
- Grid.Column=" 3 "
614
+ Grid.Column=" 2 "
612
615
Margin =" 10,0,-10,0"
613
616
AutomationProperties.Name=" Dismiss"
614
617
Content ="  "
You can’t perform that action at this time.
0 commit comments