Skip to content

Commit ea39cec

Browse files
committed
Ran XAML styler
1 parent 3225946 commit ea39cec

File tree

9 files changed

+51
-51
lines changed

9 files changed

+51
-51
lines changed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
1+
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
22
<Page x:Class="MarqueeTextExperiment.Samples.MarqueeTextSample"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5-
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
65
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
6+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
77
xmlns:local="MarqueeTextExperiment.Samples"
88
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
99
mc:Ignorable="d">
1010

1111
<StackPanel Padding="16">
1212
<controls:MarqueeText Behavior="{x:Bind ConvertStringToMarqueeBehavior(MQBehavior), Mode=OneWay}"
13-
Direction="{x:Bind ConvertStringToMarqueeDirection(MQDirection), Mode=OneWay}"
14-
FontSize="18"
15-
RepeatBehavior="Forever"
16-
Speed="{x:Bind MQSpeed, Mode=OneWay}"
17-
Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." />
13+
Direction="{x:Bind ConvertStringToMarqueeDirection(MQDirection), Mode=OneWay}"
14+
FontSize="18"
15+
RepeatBehavior="Forever"
16+
Speed="{x:Bind MQSpeed, Mode=OneWay}"
17+
Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." />
1818
</StackPanel>
1919
</Page>
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
1+
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
22
<Page x:Class="MarqueeTextTests.ExampleMarqueeTextTestPage"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5-
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
65
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
6+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
77
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
88
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
99
mc:Ignorable="d">
1010

1111
<Grid>
1212
<controls:MarqueeText x:Name="MarqueeTextControl"
13-
Behavior="Ticker"
14-
Direction="Left"
15-
Speed="96"
16-
Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ac auctor augue mauris augue neque gravida in. Bibendum at varius vel pharetra vel turpis nunc eget lorem. Viverra adipiscing at in tellus integer feugiat scelerisque varius. Viverra ipsum nunc aliquet bibendum. Quis viverra nibh cras pulvinar mattis nunc. Netus et malesuada fames ac turpis egestas maecenas pharetra. Pellentesque habitant morbi tristique senectus. Gravida rutrum quisque non tellus orci. Diam phasellus vestibulum lorem sed risus ultricies tristique nulla aliquet. Mollis aliquam ut porttitor leo." />
13+
Behavior="Ticker"
14+
Direction="Left"
15+
Speed="96"
16+
Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ac auctor augue mauris augue neque gravida in. Bibendum at varius vel pharetra vel turpis nunc eget lorem. Viverra adipiscing at in tellus integer feugiat scelerisque varius. Viverra ipsum nunc aliquet bibendum. Quis viverra nibh cras pulvinar mattis nunc. Netus et malesuada fames ac turpis egestas maecenas pharetra. Pellentesque habitant morbi tristique senectus. Gravida rutrum quisque non tellus orci. Diam phasellus vestibulum lorem sed risus ultricies tristique nulla aliquet. Mollis aliquam ut porttitor leo." />
1717
</Grid>
1818
</Page>

components/Shimmer/samples/ShimmerSample.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
1+
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
22
<Page x:Class="ShimmerExperiment.Samples.ShimmerSample"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5-
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
65
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
6+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
77
xmlns:local="using:ShimmerExperiment.Samples"
88
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
99
mc:Ignorable="d">

components/Shimmer/tests/ExampleShimmerTestPage.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
1+
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
22
<Page x:Class="ShimmerTests.ExampleShimmerTestPage"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5-
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
65
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
6+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
77
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
88
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
99
mc:Ignorable="d">

components/TokenView/samples/TokenViewBasicSample.xaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
1+
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
22
<Page x:Class="TokenViewExperiment.Samples.TokenViewBasicSample"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5-
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
65
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
6+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
77
xmlns:local="using:TokenViewExperiment.Samples"
88
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
99
mc:Ignorable="d">
1010

1111
<Grid>
1212
<controls:TokenView IsWrapped="{x:Bind IsWrapped, Mode=OneWay}"
13-
SelectedIndex="2"
14-
SelectionMode="{x:Bind local:TokenViewBasicSample.ConvertStringToListViewSelectionMode(SelectionMode), Mode=OneWay}">
13+
SelectedIndex="2"
14+
SelectionMode="{x:Bind local:TokenViewBasicSample.ConvertStringToListViewSelectionMode(SelectionMode), Mode=OneWay}">
1515
<controls:TokenItem Content="All" />
1616

1717
<controls:TokenItem Content="Apps">

components/TokenView/samples/TokenViewItemsSourceSample.xaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
1+
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
22
<Page x:Class="TokenViewExperiment.Samples.TokenViewItemsSourceSample"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5-
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
65
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
6+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
77
xmlns:local="using:TokenViewExperiment.Samples"
88
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
99
mc:Ignorable="d">
1010

1111
<StackPanel Orientation="Vertical"
1212
Spacing="12">
1313
<controls:TokenView x:Name="TokenView"
14-
CanRemoveTokens="{x:Bind CanRemoveTokens, Mode=OneWay}"
15-
ItemsSource="{x:Bind MyDataSet, Mode=OneWay}"
16-
SelectedIndex="1"
17-
SelectionMode="Single">
14+
CanRemoveTokens="{x:Bind CanRemoveTokens, Mode=OneWay}"
15+
ItemsSource="{x:Bind MyDataSet, Mode=OneWay}"
16+
SelectedIndex="1"
17+
SelectionMode="Single">
1818
<controls:TokenView.ItemTemplate>
1919
<DataTemplate x:DataType="local:MyDataModel">
2020
<Grid>

components/TokenView/samples/TokenViewRemoveSample.xaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
1+
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
22
<Page x:Class="TokenViewExperiment.Samples.TokenViewRemoveSample"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5-
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
65
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
6+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
77
xmlns:local="using:TokenViewExperiment.Samples"
88
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
99
mc:Ignorable="d">
1010

1111
<controls:TokenView CanRemoveTokens="{x:Bind CanRemoveTokens, Mode=OneWay}"
12-
SelectionMode="Single">
12+
SelectionMode="Single">
1313
<controls:TokenItem Content="All" />
1414
<controls:TokenItem Content="Work" />
1515
<controls:TokenItem Content="Apps" />
1616
<controls:TokenItem Content="Documents" />
1717
<controls:TokenItem Content="Web"
18-
IsRemoveable="True" />
18+
IsRemoveable="True" />
1919
<controls:TokenItem Content="Settings" />
2020
<controls:TokenItem Content="People" />
2121
<controls:TokenItem Content="Folders" />

components/TokenView/tests/ExampleTokenViewTestPage.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
1+
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
22
<Page x:Class="TokenViewTests.ExampleTokenViewTestPage"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5-
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
65
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
6+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
77
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
88
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
99
mc:Ignorable="d">

components/TransitionHelper/samples/TransitionHelperFullExample.xaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
<Page x:Class="TransitionHelperExperiment.Samples.TransitionHelperFullExample"
1+
<Page x:Class="TransitionHelperExperiment.Samples.TransitionHelperFullExample"
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
55
xmlns:i="using:Microsoft.Xaml.Interactivity"
6-
xmlns:wct="using:CommunityToolkit.WinUI"
76
xmlns:local="using:TransitionHelperExperiment.Samples"
87
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8+
xmlns:wct="using:CommunityToolkit.WinUI"
99
mc:Ignorable="d">
1010

1111
<Page.Resources>
1212
<wct:TransitionHelper x:Key="MyTransitionHelper">
1313
<wct:TransitionConfig Id="background"
14-
ScaleMode="Scale" />
14+
ScaleMode="Scale" />
1515
<wct:TransitionConfig Id="image"
16-
ScaleMode="Scale" />
16+
ScaleMode="Scale" />
1717
<wct:TransitionConfig Id="name"
18-
ScaleMode="Custom">
18+
ScaleMode="Custom">
1919
<wct:TransitionConfig.CustomScalingCalculator>
2020
<local:CustomTextScalingCalculator />
2121
</wct:TransitionConfig.CustomScalingCalculator>
2222
</wct:TransitionConfig>
2323
<wct:TransitionConfig EnableClipAnimation="true"
24-
Id="desc" />
24+
Id="desc" />
2525
</wct:TransitionHelper>
2626

2727
<ImageBrush x:Key="ImageBackgroundBrush"
@@ -53,8 +53,8 @@
5353
<i:Interaction.Behaviors>
5454
<i:EventTriggerBehavior EventName="Click">
5555
<wct:StartTransitionAction Source="{Binding ElementName=FirstControl}"
56-
Target="{Binding ElementName=SecondControl}"
57-
Transition="{StaticResource MyTransitionHelper}" />
56+
Target="{Binding ElementName=SecondControl}"
57+
Transition="{StaticResource MyTransitionHelper}" />
5858
</i:EventTriggerBehavior>
5959
</i:Interaction.Behaviors>
6060
</Button>
@@ -64,8 +64,8 @@
6464
<i:Interaction.Behaviors>
6565
<i:EventTriggerBehavior EventName="Click">
6666
<wct:StartTransitionAction Source="{Binding ElementName=FirstControl}"
67-
Target="{Binding ElementName=ThirdControl}"
68-
Transition="{StaticResource MyTransitionHelper}" />
67+
Target="{Binding ElementName=ThirdControl}"
68+
Transition="{StaticResource MyTransitionHelper}" />
6969
</i:EventTriggerBehavior>
7070
</i:Interaction.Behaviors>
7171
</Button>
@@ -110,8 +110,8 @@
110110
<i:Interaction.Behaviors>
111111
<i:EventTriggerBehavior EventName="Click">
112112
<wct:StartTransitionAction Source="{Binding ElementName=SecondControl}"
113-
Target="{Binding ElementName=FirstControl}"
114-
Transition="{StaticResource MyTransitionHelper}" />
113+
Target="{Binding ElementName=FirstControl}"
114+
Transition="{StaticResource MyTransitionHelper}" />
115115
</i:EventTriggerBehavior>
116116
</i:Interaction.Behaviors>
117117
</Button>
@@ -121,8 +121,8 @@
121121
<i:Interaction.Behaviors>
122122
<i:EventTriggerBehavior EventName="Click">
123123
<wct:StartTransitionAction Source="{Binding ElementName=SecondControl}"
124-
Target="{Binding ElementName=ThirdControl}"
125-
Transition="{StaticResource MyTransitionHelper}" />
124+
Target="{Binding ElementName=ThirdControl}"
125+
Transition="{StaticResource MyTransitionHelper}" />
126126
</i:EventTriggerBehavior>
127127
</i:Interaction.Behaviors>
128128
</Button>
@@ -214,8 +214,8 @@
214214
<i:Interaction.Behaviors>
215215
<i:EventTriggerBehavior EventName="Click">
216216
<wct:StartTransitionAction Source="{Binding ElementName=ThirdControl}"
217-
Target="{Binding ElementName=FirstControl}"
218-
Transition="{StaticResource MyTransitionHelper}" />
217+
Target="{Binding ElementName=FirstControl}"
218+
Transition="{StaticResource MyTransitionHelper}" />
219219
</i:EventTriggerBehavior>
220220
</i:Interaction.Behaviors>
221221
</Button>
@@ -225,8 +225,8 @@
225225
<i:Interaction.Behaviors>
226226
<i:EventTriggerBehavior EventName="Click">
227227
<wct:StartTransitionAction Source="{Binding ElementName=ThirdControl}"
228-
Target="{Binding ElementName=SecondControl}"
229-
Transition="{StaticResource MyTransitionHelper}" />
228+
Target="{Binding ElementName=SecondControl}"
229+
Transition="{StaticResource MyTransitionHelper}" />
230230
</i:EventTriggerBehavior>
231231
</i:Interaction.Behaviors>
232232
</Button>

0 commit comments

Comments
 (0)