Skip to content

Commit b796cf0

Browse files
committed
Consolidate Common code
Move control metadata into separate folder Add '.' after the control name in the filenames to make the file self-contained to attributes and defaults registration
1 parent 4d47615 commit b796cf0

34 files changed

+33
-682
lines changed

Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.Design/Common/MetadataRegistrationBase.cs

Lines changed: 0 additions & 253 deletions
This file was deleted.

Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.Design/Common/PlatformTypes.cs

Lines changed: 0 additions & 49 deletions
This file was deleted.

Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.Design/Common/ToolboxCategoryPaths.cs

Lines changed: 0 additions & 23 deletions
This file was deleted.

Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.Design/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.Design.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,11 @@
8484
</Reference>
8585
</ItemGroup>
8686
<ItemGroup>
87+
<Compile Include="..\Microsoft.Toolkit.Uwp.UI.Controls.Design\Common\MetadataRegistrationBase.cs" Link="Common\MetadataRegistrationBase.cs" />
88+
<Compile Include="..\Microsoft.Toolkit.Uwp.UI.Controls.Design\Common\PlatformTypes.cs" Link="Common\PlatformTypes.cs" />
89+
<Compile Include="..\Microsoft.Toolkit.Uwp.UI.Controls.Design\Common\ToolboxCategoryPaths.cs" Link="Common\ToolboxCategoryPaths.cs" />
90+
<Compile Include="Controls\DataGrid.Metadata.cs" />
8791
<Compile Include="MetadataRegistration.cs" />
88-
<Compile Include="Common\MetadataRegistrationBase.cs" />
89-
<Compile Include="Common\PlatformTypes.cs" />
9092
<Compile Include="Properties\AssemblyInfo.cs">
9193
<SubType>Code</SubType>
9294
</Compile>
@@ -95,8 +97,6 @@
9597
<DesignTime>True</DesignTime>
9698
<DependentUpon>Resources.resx</DependentUpon>
9799
</Compile>
98-
<Compile Include="Common\ToolboxCategoryPaths.cs" />
99-
<Compile Include="DataGridMetadata.cs" />
100100
<EmbeddedResource Include="Properties\Resources.resx">
101101
<Generator>ResXFileCodeGenerator</Generator>
102102
<LastGenOutput>Resources.Designer.cs</LastGenOutput>

0 commit comments

Comments
 (0)