Files
Wino-Mail/Wino.Core.Domain/Interfaces/IStatePersistenceService.cs

59 lines
1.7 KiB
C#
Raw Normal View History

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