Skip to content

Commit

Permalink
Init Gallery Demo #3
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost1372 committed Dec 17, 2024
1 parent 1c9c399 commit d6a19dc
Show file tree
Hide file tree
Showing 8 changed files with 63 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/DevWinUI.Gallery/Assets/Fluent/DatePicker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions dev/DevWinUI.Gallery/Assets/NavViewMenu/AppData.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,20 @@
"ImagePath": "ms-appx:///Assets/Fluent/RatingControl.png",
"IsSpecialSection": false,
"Items": [
{
"UniqueId": "DevWinUIGallery.Views.DateTimePickerPage",
"Title": "DateTimePicker",
"Subtitle": "Pick a Date and Time with CalendarWithClock",
"IsNew": true,
"ImagePath": "ms-appx:///Assets/Fluent/DatePicker.png"
},
{
"UniqueId": "DevWinUIGallery.Views.CalendarWithClockPage",
"Title": "CalendarWithClock",
"Subtitle": "A CalendarView with a TimePicker/Clock",
"IsNew": true,
"ImagePath": "ms-appx:///Assets/Fluent/CalendarView.png"
},
{
"UniqueId": "DevWinUIGallery.Views.RichTextFormatterPage",
"Title": "RichTextFormatter",
Expand Down
2 changes: 2 additions & 0 deletions dev/DevWinUI.Gallery/T4Templates/NavigationPageMappings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ public partial class NavigationPageMappings
{"DevWinUIGallery.Views.WaveCirclePage", typeof(DevWinUIGallery.Views.WaveCirclePage)},
{"DevWinUIGallery.Views.BubblePage", typeof(DevWinUIGallery.Views.BubblePage)},
{"DevWinUIGallery.Views.GooeyPage", typeof(DevWinUIGallery.Views.GooeyPage)},
{"DevWinUIGallery.Views.DateTimePickerPage", typeof(DevWinUIGallery.Views.DateTimePickerPage)},
{"DevWinUIGallery.Views.CalendarWithClockPage", typeof(DevWinUIGallery.Views.CalendarWithClockPage)},
{"DevWinUIGallery.Views.RichTextFormatterPage", typeof(DevWinUIGallery.Views.RichTextFormatterPage)},
{"DevWinUIGallery.Views.ProgressButtonPage", typeof(DevWinUIGallery.Views.ProgressButtonPage)},
{"DevWinUIGallery.Views.TextBoxPage", typeof(DevWinUIGallery.Views.TextBoxPage)},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Page
x:Class="DevWinUIGallery.Views.CalendarWithClockPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:DevWinUIGallery.Views"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">

<Grid>

</Grid>
</Page>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace DevWinUIGallery.Views;


public sealed partial class CalendarWithClockPage : Page
{
public CalendarWithClockPage()
{
this.InitializeComponent();
}
}
14 changes: 14 additions & 0 deletions dev/DevWinUI.Gallery/Views/Pages/Features/DateTimePickerPage.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Page
x:Class="DevWinUIGallery.Views.DateTimePickerPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:DevWinUIGallery.Views"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">

<Grid>

</Grid>
</Page>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace DevWinUIGallery.Views;

public sealed partial class DateTimePickerPage : Page
{
public DateTimePickerPage()
{
this.InitializeComponent();
}
}

0 comments on commit d6a19dc

Please sign in to comment.