File tree Expand file tree Collapse file tree 2 files changed +18
-25
lines changed Expand file tree Collapse file tree 2 files changed +18
-25
lines changed Original file line number Diff line number Diff line change 2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
// See the LICENSE file in the project root for more information.
4
4
using CommunityToolkit . Tooling . SampleGen . Metadata ;
5
- using Windows . UI . Xaml . Media . Imaging ;
6
5
7
6
namespace CommunityToolkit . App . Shared . Helpers ;
8
7
Original file line number Diff line number Diff line change 3
3
// See the LICENSE file in the project root for more information.
4
4
5
5
using CommunityToolkit . Tooling . SampleGen . Metadata ;
6
- using CommunityToolkit . Tooling . SampleGen ;
7
- using Windows . Storage ;
8
6
9
- namespace CommunityToolkit . App . Shared . Pages
7
+ namespace CommunityToolkit . App . Shared . Pages ;
8
+
9
+ public sealed partial class GettingStartedPage : Page
10
10
{
11
- public sealed partial class GettingStartedPage : Page
11
+ public GettingStartedPage ( )
12
12
{
13
- public GettingStartedPage ( )
14
- {
15
- this . InitializeComponent ( ) ;
16
- }
17
-
18
- /// <summary>
19
- /// Gets the items used for navigating.
20
- /// </summary>
21
- protected override void OnNavigatedTo ( NavigationEventArgs e )
22
- {
23
- controlsGridView . ItemsSource = e . Parameter as IEnumerable < ToolkitFrontMatter > ;
24
-
25
-
26
- base . OnNavigatedTo ( e ) ;
27
- }
13
+ this . InitializeComponent ( ) ;
14
+ }
28
15
29
- private async void controlsGridView_ItemClick ( object sender , ItemClickEventArgs e )
30
- {
31
- var selectedSample = e . ClickedItem as ToolkitFrontMatter ;
16
+ /// <summary>
17
+ /// Gets the items used for navigating.
18
+ /// </summary>
19
+ protected override void OnNavigatedTo ( NavigationEventArgs e )
20
+ {
21
+ controlsGridView . ItemsSource = e . Parameter as IEnumerable < ToolkitFrontMatter > ;
22
+ base . OnNavigatedTo ( e ) ;
23
+ }
32
24
33
- Shell . Current ? . NavigateToSample ( selectedSample ) ;
34
- }
25
+ private void controlsGridView_ItemClick ( object sender , ItemClickEventArgs e )
26
+ {
27
+ var selectedSample = e . ClickedItem as ToolkitFrontMatter ;
28
+ Shell . Current ? . NavigateToSample ( selectedSample ) ;
35
29
}
36
30
}
You can’t perform that action at this time.
0 commit comments