2023-01-29 18:29:47 +08:00
|
|
|
<UserControl
|
|
|
|
x:Class="Semi.Avalonia.Demo.Pages.CalendarDatePickerDemo"
|
|
|
|
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"
|
|
|
|
d:DesignHeight="450"
|
|
|
|
d:DesignWidth="800"
|
|
|
|
mc:Ignorable="d">
|
2023-02-09 22:21:36 +08:00
|
|
|
<StackPanel HorizontalAlignment="Left" Spacing="20">
|
2023-01-29 18:29:47 +08:00
|
|
|
<CalendarDatePicker />
|
|
|
|
<CalendarDatePicker
|
|
|
|
Name="DatePicker2"
|
|
|
|
Margin="0,0,0,8"
|
|
|
|
SelectedDateFormat="Long" />
|
|
|
|
<CalendarDatePicker
|
|
|
|
Name="DatePicker3"
|
|
|
|
Margin="0,0,0,8"
|
|
|
|
CustomDateFormatString="ddd, MMM d"
|
|
|
|
SelectedDateFormat="Custom" />
|
|
|
|
<CalendarDatePicker Margin="0,0,0,8" Watermark="Watermark" />
|
|
|
|
|
|
|
|
<CalendarDatePicker IsEnabled="False" />
|
|
|
|
</StackPanel>
|
|
|
|
</UserControl>
|