feat: introducing DateTimePicker.
This commit is contained in:
12
demo/Ursa.Demo/Pages/DateTimePickerDemo.axaml
Normal file
12
demo/Ursa.Demo/Pages/DateTimePickerDemo.axaml
Normal file
@@ -0,0 +1,12 @@
|
||||
<UserControl xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:u="https://irihi.tech/ursa"
|
||||
mc:Ignorable="d" d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
x:Class="Ursa.Demo.Pages.DateTimePickerDemo">
|
||||
<StackPanel Margin="20" Spacing="">
|
||||
<u:DateTimePicker Width="300" PanelFormat="hh mm ss tt"/>
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
13
demo/Ursa.Demo/Pages/DateTimePickerDemo.axaml.cs
Normal file
13
demo/Ursa.Demo/Pages/DateTimePickerDemo.axaml.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace Ursa.Demo.Pages;
|
||||
|
||||
public partial class DateTimePickerDemo : UserControl
|
||||
{
|
||||
public DateTimePickerDemo()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user