File tree Expand file tree Collapse file tree 5 files changed +6
-7
lines changed
Microsoft.Toolkit.Uwp.SampleApp
SamplePages/MetadataControl
Microsoft.Toolkit.Uwp.UI.Controls.Core/MetadataControl Expand file tree Collapse file tree 5 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 969
969
</Page >
970
970
<Content Include =" SamplePages\TabbedCommandBar\TabbedCommandBar.bind" >
971
971
<SubType >Designer</SubType >
972
- </Page >
972
+ </Content >
973
973
<Content Include =" SamplePages\MetadataControl\MetadataControlCode.bind" >
974
974
<SubType >Designer</SubType >
975
- <Generator >MSBuild:Compile</Generator >
976
975
</Content >
977
976
<Page Include =" SamplePages\MetadataControl\MetadataControlPage.xaml" >
978
977
<SubType >Designer</SubType >
Original file line number Diff line number Diff line change 1
- // Licensed to the .NET Foundation under one or more agreements.
1
+ // Licensed to the .NET Foundation under one or more agreements.
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
5
- using System ;
6
- using System . Collections . ObjectModel ;
7
5
using Microsoft . Toolkit . Uwp . SampleApp . Common ;
6
+ using Microsoft . Toolkit . Uwp . UI ;
8
7
using Microsoft . Toolkit . Uwp . UI . Controls ;
9
- using Microsoft . Toolkit . Uwp . UI . Extensions ;
8
+ using System ;
9
+ using System . Collections . ObjectModel ;
10
10
using Windows . UI . Xaml ;
11
11
using Windows . UI . Xaml . Controls ;
12
12
@@ -35,7 +35,7 @@ public MetadataControlPage()
35
35
36
36
public void OnXamlRendered ( FrameworkElement control )
37
37
{
38
- _metadataControl = control . FindChildByName ( "metadataControl" ) as MetadataControl ;
38
+ _metadataControl = control . FindChild ( "metadataControl" ) as MetadataControl ;
39
39
if ( _metadataControl != null )
40
40
{
41
41
_metadataControl . Items = _units ;
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments