diff --git a/dev/DevWinUI.Gallery/Views/Pages/Features/ClockPage.xaml b/dev/DevWinUI.Gallery/Views/Pages/Features/ClockPage.xaml index f6c2596..57e7e0e 100644 --- a/dev/DevWinUI.Gallery/Views/Pages/Features/ClockPage.xaml +++ b/dev/DevWinUI.Gallery/Views/Pages/Features/ClockPage.xaml @@ -17,7 +17,11 @@ <dev:Clock /> - + + + + diff --git a/dev/DevWinUI.Gallery/Views/Pages/Features/ClockPage.xaml.cs b/dev/DevWinUI.Gallery/Views/Pages/Features/ClockPage.xaml.cs index ec0634f..df76193 100644 --- a/dev/DevWinUI.Gallery/Views/Pages/Features/ClockPage.xaml.cs +++ b/dev/DevWinUI.Gallery/Views/Pages/Features/ClockPage.xaml.cs @@ -6,4 +6,9 @@ public ClockPage() { this.InitializeComponent(); } + + private void Clock_SelectedTimeChanged(object sender, DateTime e) + { + Txt.Text = e.ToLongTimeString(); + } }