File tree Expand file tree Collapse file tree 5 files changed +113
-0
lines changed
src/SamplesApp/UITests.Shared
Windows_UI_Xaml_Controls/FlipView Expand file tree Collapse file tree 5 files changed +113
-0
lines changed Original file line number Diff line number Diff line change 1225
1225
<SubType >Designer</SubType >
1226
1226
<Generator >MSBuild:Compile</Generator >
1227
1227
</Page >
1228
+ <Page Include =" $(MSBuildThisFileDirectory)Windows_UI_Xaml_Controls\FlipView\FlipView_Buttons.xaml" >
1229
+ <SubType >Designer</SubType >
1230
+ <Generator >MSBuild:Compile</Generator >
1231
+ </Page >
1232
+ <Page Include =" $(MSBuildThisFileDirectory)Windows_UI_Xaml_Controls\FlipView\FlipView_Images.xaml" >
1233
+ <SubType >Designer</SubType >
1234
+ <Generator >MSBuild:Compile</Generator >
1235
+ </Page >
1228
1236
<Page Include =" $(MSBuildThisFileDirectory)Windows_UI_Xaml_Controls\Flyout\Flyout_Content_ThemeResource.xaml" >
1229
1237
<SubType >Designer</SubType >
1230
1238
<Generator >MSBuild:Compile</Generator >
4966
4974
<Compile Include =" $(MSBuildThisFileDirectory)Windows_UI_Xaml_Controls\DropDownButton\DropDownButtonPage.xaml.cs" >
4967
4975
<DependentUpon >DropDownButtonPage.xaml</DependentUpon >
4968
4976
</Compile >
4977
+ <Compile Include =" $(MSBuildThisFileDirectory)Windows_UI_Xaml_Controls\FlipView\FlipView_Buttons.xaml.cs" >
4978
+ <DependentUpon >FlipView_Buttons.xaml</DependentUpon >
4979
+ </Compile >
4980
+ <Compile Include =" $(MSBuildThisFileDirectory)Windows_UI_Xaml_Controls\FlipView\FlipView_Images.xaml.cs" >
4981
+ <DependentUpon >FlipView_Images.xaml</DependentUpon >
4982
+ </Compile >
4969
4983
<Compile Include =" $(MSBuildThisFileDirectory)Windows_UI_Xaml_Controls\Flyout\FlyoutButtonViewModel.cs" />
4970
4984
<Compile Include =" $(MSBuildThisFileDirectory)Windows_UI_Xaml_Controls\DatePicker\DatePickerFlyout_Unloaded.xaml.cs" >
4971
4985
<DependentUpon >DatePickerFlyout_Unloaded.xaml</DependentUpon >
Original file line number Diff line number Diff line change
1
+ <UserControl
2
+ x : Class =" UITests.Windows_UI_Xaml_Controls.FlipView.FlipView_Buttons"
3
+ xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4
+ xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
5
+ xmlns : local =" using:UITests.Windows_UI_Xaml_Controls.FlipView"
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
+ d : DesignHeight =" 300"
10
+ d : DesignWidth =" 400" >
11
+
12
+ <StackPanel Orientation =" Vertical" >
13
+ <FlipView Width =" 100"
14
+ Height =" 100" >
15
+ <Button Content =" Button 1" Width =" 100" Background =" Green" AutomationProperties.Name=" Button1" />
16
+ <Button Content =" Button 2" Width =" 100" Background =" Blue" AutomationProperties.Name=" Button2" />
17
+ <Button Content =" Button 3" Width =" 100" Background =" Red" AutomationProperties.Name=" Button3" />
18
+ <Button Content =" Button 4" Width =" 100" Background =" Fuchsia" AutomationProperties.Name=" Button4" />
19
+ <Button Content =" Button 5" Width =" 100" Background =" Orange" AutomationProperties.Name=" Button5" />
20
+ </FlipView >
21
+ </StackPanel >
22
+ </UserControl >
Original file line number Diff line number Diff line change
1
+ using System ;
2
+ using System . Collections . Generic ;
3
+ using System . IO ;
4
+ using System . Linq ;
5
+ using System . Runtime . InteropServices . WindowsRuntime ;
6
+ using Uno . UI . Samples . Controls ;
7
+ using Windows . Foundation ;
8
+ using Windows . Foundation . Collections ;
9
+ using Windows . UI . Xaml ;
10
+ using Windows . UI . Xaml . Controls ;
11
+ using Windows . UI . Xaml . Controls . Primitives ;
12
+ using Windows . UI . Xaml . Data ;
13
+ using Windows . UI . Xaml . Input ;
14
+ using Windows . UI . Xaml . Media ;
15
+ using Windows . UI . Xaml . Navigation ;
16
+
17
+ namespace UITests . Windows_UI_Xaml_Controls . FlipView
18
+ {
19
+ [ SampleControlInfo ( "FlipView" , "FlipView_Buttons" ) ]
20
+ public sealed partial class FlipView_Buttons : UserControl
21
+ {
22
+ public FlipView_Buttons ( )
23
+ {
24
+ this . InitializeComponent ( ) ;
25
+ }
26
+ }
27
+ }
Original file line number Diff line number Diff line change
1
+ <UserControl
2
+ x : Class =" UITests.Windows_UI_Xaml_Controls.FlipView.FlipView_Images"
3
+ xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4
+ xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
5
+ xmlns : local =" using:UITests.Windows_UI_Xaml_Controls.FlipView"
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
+ d : DesignHeight =" 300"
10
+ d : DesignWidth =" 400" >
11
+
12
+ <StackPanel Orientation =" Vertical" >
13
+ <FlipView Width =" 100"
14
+ Height =" 100" >
15
+ <Image Source =" ms-appx:///Assets/ingredient1.png" AutomationProperties.Name=" Ingredient1" />
16
+ <Image Source =" ms-appx:///Assets/ingredient2.png" AutomationProperties.Name=" Ingredient2" />
17
+ <Image Source =" ms-appx:///Assets/ingredient3.png" AutomationProperties.Name=" Ingredient3" />
18
+ <Image Source =" ms-appx:///Assets/ingredient4.png" AutomationProperties.Name=" Ingredient4" />
19
+ <Image Source =" ms-appx:///Assets/ingredient5.png" AutomationProperties.Name=" Ingredient5" />
20
+ </FlipView >
21
+ </StackPanel >
22
+
23
+ </UserControl >
Original file line number Diff line number Diff line change
1
+ using System ;
2
+ using System . Collections . Generic ;
3
+ using System . IO ;
4
+ using System . Linq ;
5
+ using System . Runtime . InteropServices . WindowsRuntime ;
6
+ using Uno . UI . Samples . Controls ;
7
+ using Windows . Foundation ;
8
+ using Windows . Foundation . Collections ;
9
+ using Windows . UI . Xaml ;
10
+ using Windows . UI . Xaml . Controls ;
11
+ using Windows . UI . Xaml . Controls . Primitives ;
12
+ using Windows . UI . Xaml . Data ;
13
+ using Windows . UI . Xaml . Input ;
14
+ using Windows . UI . Xaml . Media ;
15
+ using Windows . UI . Xaml . Navigation ;
16
+
17
+ namespace UITests . Windows_UI_Xaml_Controls . FlipView
18
+ {
19
+ [ SampleControlInfo ( "FlipView" , "FlipView_Images" ) ]
20
+ public sealed partial class FlipView_Images : UserControl
21
+ {
22
+ public FlipView_Images ( )
23
+ {
24
+ this . InitializeComponent ( ) ;
25
+ }
26
+ }
27
+ }
You can’t perform that action at this time.
0 commit comments