using System; using System.ComponentModel; using Wino.Core.Domain.Enums; namespace Wino.Core.Domain.Interfaces; public interface IStatePersistanceService : INotifyPropertyChanged { event EventHandler StatePropertyChanged; /// /// True when there is an active renderer for selected mail. /// bool IsReadingMail { get; set; } /// /// Shell's app bar title string. /// string CoreWindowTitle { get; set; } /// /// When only reader page is visible in small sized window. /// bool IsReaderNarrowed { get; set; } /// /// Should display back button on the shell title bar. /// bool IsBackButtonVisible { get; } /// /// Setting: Opened pane length for the navigation view. /// double OpenPaneLength { get; set; } /// /// Whether the mail rendering page should be shifted from top to adjust the design /// for standalone EML viewer or not. /// bool ShouldShiftMailRenderingDesign { get; set; } /// /// Setting: Mail list pane length for listing mails. /// double MailListPaneLength { get; set; } /// /// Setting: Calendar display type. /// CalendarDisplayType CalendarDisplayType { get; set; } /// /// Setting: Calendar display count for the day view. /// int DayDisplayCount { get; set; } }