Bunch of interaction updates for the calendar item control.
This commit is contained in:
@@ -43,8 +43,6 @@ namespace Wino.Core.UWP.Controls
|
||||
set { SetValue(CoreWindowTextProperty, value); }
|
||||
}
|
||||
|
||||
|
||||
|
||||
public bool IsDragArea
|
||||
{
|
||||
get { return (bool)GetValue(IsDragAreaProperty); }
|
||||
@@ -52,9 +50,6 @@ namespace Wino.Core.UWP.Controls
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public double SystemReserved
|
||||
{
|
||||
get { return (double)GetValue(SystemReservedProperty); }
|
||||
@@ -109,9 +104,6 @@ namespace Wino.Core.UWP.Controls
|
||||
set { SetValue(IsRenderingPaneVisibleProperty, value); }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public double ReadingPaneLength
|
||||
{
|
||||
get { return (double)GetValue(ReadingPaneLengthProperty); }
|
||||
|
||||
@@ -11,9 +11,7 @@ using Windows.UI.Xaml.Controls.Primitives;
|
||||
using Windows.UI.Xaml.Markup;
|
||||
using Windows.UI.Xaml.Media;
|
||||
using Wino.Core.Domain;
|
||||
using Wino.Core.Domain.Collections;
|
||||
using Wino.Core.Domain.Enums;
|
||||
using Wino.Core.Domain.Interfaces;
|
||||
using Wino.Core.Domain.Models.MailItem;
|
||||
using Wino.Core.UWP.Controls;
|
||||
|
||||
@@ -36,8 +34,7 @@ namespace Wino.Helpers
|
||||
_ => PopupPlacementMode.Bottom,
|
||||
};
|
||||
}
|
||||
public static ICalendarItem GetFirstAllDayEvent(CalendarEventCollection collection)
|
||||
=> collection.AllDayEvents.FirstOrDefault();
|
||||
|
||||
|
||||
public static Visibility ReverseBoolToVisibilityConverter(bool value) => value ? Visibility.Collapsed : Visibility.Visible;
|
||||
public static Visibility ReverseVisibilityConverter(Visibility visibility) => visibility == Visibility.Visible ? Visibility.Collapsed : Visibility.Visible;
|
||||
|
||||
Reference in New Issue
Block a user