2024-12-30 23:10:51 +01:00
|
|
|
|
using Windows.UI.Xaml;
|
2024-12-29 13:06:35 +01:00
|
|
|
|
using Windows.UI.Xaml.Controls;
|
2025-01-04 11:39:32 +01:00
|
|
|
|
using Wino.Core.Domain.Models.Calendar;
|
2024-12-29 13:06:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Wino.Calendar.Controls
|
|
|
|
|
|
{
|
|
|
|
|
|
public sealed partial class AllDayItemsControl : UserControl
|
|
|
|
|
|
{
|
|
|
|
|
|
#region Dependency Properties
|
|
|
|
|
|
|
2025-01-04 11:39:32 +01:00
|
|
|
|
public static readonly DependencyProperty CalendarDayModelProperty = DependencyProperty.Register(nameof(CalendarDayModel), typeof(CalendarDayModel), typeof(AllDayItemsControl), new PropertyMetadata(null));
|
2024-12-29 13:06:35 +01:00
|
|
|
|
|
2025-01-04 11:39:32 +01:00
|
|
|
|
public CalendarDayModel CalendarDayModel
|
2024-12-29 13:06:35 +01:00
|
|
|
|
{
|
2025-01-04 11:39:32 +01:00
|
|
|
|
get { return (CalendarDayModel)GetValue(CalendarDayModelProperty); }
|
|
|
|
|
|
set { SetValue(CalendarDayModelProperty, value); }
|
2024-12-29 13:06:35 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
public AllDayItemsControl()
|
|
|
|
|
|
{
|
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|