Skip to content

Commit e1b1253

Browse files
Fix XAML Styling and duplicated using statements
1 parent 09cccb8 commit e1b1253

File tree

2 files changed

+12
-23
lines changed

2 files changed

+12
-23
lines changed
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
<Page
2-
x:Class="SizerBase.Tests.TouchInjectionTest"
3-
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4-
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5-
xmlns:local="using:CommunityToolkit.Labs.UnitTests.Shared"
6-
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
7-
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8-
mc:Ignorable="d"
9-
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
1+
<Page x:Class="SizerBase.Tests.TouchInjectionTest"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5+
xmlns:local="using:CommunityToolkit.Labs.UnitTests.Shared"
6+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
7+
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
8+
mc:Ignorable="d">
109

1110
<Grid>
1211
<Button x:Name="TestButton"
12+
Width="100"
13+
Height="50"
1314
Margin="100,100,0,0"
14-
Width="100" Height="50"
15-
Content="Not Clicked"
16-
Click="TestButton_Click"/>
15+
Click="TestButton_Click"
16+
Content="Not Clicked" />
1717
</Grid>
1818
</Page>

labs/SizerBase/tests/SizerBase.Tests/TouchInjectionTest.xaml.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,7 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
using System;
6-
using System.Collections.Generic;
7-
using System.IO;
8-
using System.Linq;
9-
using System.Runtime.InteropServices.WindowsRuntime;
10-
using Windows.Foundation;
11-
using Windows.Foundation.Collections;
12-
using System.Diagnostics.Contracts;
13-
145
#if !WINAPPSDK
15-
using Windows.Foundation;
16-
using Windows.Foundation.Collections;
176
using Windows.UI.Xaml;
187
using Windows.UI.Xaml.Controls;
198
using Windows.UI.Xaml.Controls.Primitives;

0 commit comments

Comments
 (0)