-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
151 additions
and
51 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE in the project root for license information. --> | ||
<local:TestPage | ||
x:Class="MUXControlsTestApp.FlipViewPage" | ||
x:Name="FlipViewTestPage" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="clr-namespace:MUXControlsTestApp" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d" | ||
xmlns:contract7Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | ||
|
||
<StackPanel Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Margin="12"> | ||
<TextBlock Text="Sample FlipViews" Style="{ThemeResource StandardGroupHeader}"/> | ||
<StackPanel Orientation="Horizontal"> | ||
<FlipView Width="200" Height="200" AutomationProperties.Name="Horizontal FlipView" | ||
contract7Present:CornerRadius="2"> | ||
<Grid Background="Red" AutomationProperties.Name="Red panel"/> | ||
<Grid Background="Green" AutomationProperties.Name="Green panel"/> | ||
<Grid Background="Blue" AutomationProperties.Name="Blue panel"/> | ||
</FlipView> | ||
|
||
<FlipView Width="200" Height="200" | ||
Margin="20, 0, 0, 0" AutomationProperties.Name="Vertical FlipView" | ||
contract7Present:CornerRadius="2" | ||
Orientation="Vertical"> | ||
<FlipView.ItemsPanel> | ||
<ItemsPanelTemplate> | ||
<VirtualizingStackPanel Orientation="Vertical"/> | ||
</ItemsPanelTemplate> | ||
</FlipView.ItemsPanel> | ||
<Grid Background="Red" AutomationProperties.Name="Red panel"/> | ||
<Grid Background="Green" AutomationProperties.Name="Green panel"/> | ||
<Grid Background="Blue" AutomationProperties.Name="Blue panel"/> | ||
</FlipView> | ||
</StackPanel> | ||
</StackPanel> | ||
</local:TestPage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See LICENSE in the project root for license information. | ||
|
||
namespace MUXControlsTestApp | ||
{ | ||
[TopLevelTestPage(Name = "FlipView", Icon = "FlipView.png")] | ||
public sealed partial class FlipViewPage : TestPage | ||
{ | ||
public FlipViewPage() | ||
{ | ||
this.InitializeComponent(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE in the project root for license information. --> | ||
<local:TestPage | ||
x:Class="MUXControlsTestApp.ScrollBarPage" | ||
x:Name="ScrollBarTestPage" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="clr-namespace:MUXControlsTestApp" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d"> | ||
|
||
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Margin="12"> | ||
<ScrollBar/> | ||
</Grid> | ||
</local:TestPage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See LICENSE in the project root for license information. | ||
|
||
namespace MUXControlsTestApp | ||
{ | ||
[TopLevelTestPage(Name = "ScrollBar")] | ||
public sealed partial class ScrollBarPage : TestPage | ||
{ | ||
public ScrollBarPage() | ||
{ | ||
this.InitializeComponent(); | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE in the project root for license information. --> | ||
<local:TestPage | ||
x:Class="MUXControlsTestApp.TimePickerPage" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="clr-namespace:MUXControlsTestApp" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d" | ||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> | ||
|
||
<StackPanel Margin="12" VerticalAlignment="Top"> | ||
<TextBlock Text="Sample TimePicker" Style="{ThemeResource StandardGroupHeader}"/> | ||
<StackPanel Orientation="Horizontal"> | ||
<TimePicker Margin="0,23,8,0"/> | ||
<TimePicker Header="TimePicker with header"/> | ||
</StackPanel> | ||
</StackPanel> | ||
|
||
</local:TestPage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See LICENSE in the project root for license information. | ||
|
||
namespace MUXControlsTestApp | ||
{ | ||
[TopLevelTestPage(Name = "TimePicker", Icon = "TimePicker.png")] | ||
public sealed partial class TimePickerPage : TestPage | ||
{ | ||
public TimePickerPage() | ||
{ | ||
this.InitializeComponent(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE in the project root for license information. --> | ||
<local:TestPage | ||
x:Class="MUXControlsTestApp.ToolTipPage" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="clr-namespace:MUXControlsTestApp" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d" | ||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> | ||
|
||
<StackPanel Margin="12"> | ||
<TextBlock Text="Sample controls with ToolTip set" Style="{ThemeResource StandardGroupHeader}"/> | ||
<Button Content="Button with a simple ToolTip." ToolTipService.ToolTip="Simple ToolTip" Margin="0,0,0,16" /> | ||
<TextBlock Text="TextBlock with an offset ToolTip."> | ||
<ToolTipService.ToolTip> | ||
<ToolTip Content="Offset ToolTip." VerticalOffset="-80"/> | ||
</ToolTipService.ToolTip> | ||
</TextBlock> | ||
</StackPanel> | ||
|
||
</local:TestPage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See LICENSE in the project root for license information. | ||
|
||
namespace MUXControlsTestApp | ||
{ | ||
[TopLevelTestPage(Name = "ToolTip", Icon = "ToolTip.png")] | ||
public sealed partial class ToolTipPage : TestPage | ||
{ | ||
public ToolTipPage() | ||
{ | ||
this.InitializeComponent(); | ||
} | ||
} | ||
} |