Files
LanMountainDesktop/LanMontainDesktop/Models/AppSettingsSnapshot.cs
lincube 87f47e1887 0.2.0
组件系统
2026-03-01 16:50:06 +08:00

41 lines
1.1 KiB
C#

using System.Collections.Generic;
namespace LanMontainDesktop.Models;
public sealed class AppSettingsSnapshot
{
public int GridShortSideCells { get; set; } = 12;
public bool? IsNightMode { get; set; }
public string? ThemeColor { get; set; }
public string? WallpaperPath { get; set; }
public string WallpaperPlacement { get; set; } = "Fill";
public int SettingsTabIndex { get; set; } = 0;
public string LanguageCode { get; set; } = "zh-CN";
public string? TimeZoneId { get; set; }
public List<string> TopStatusComponentIds { get; set; } = [];
public List<string> PinnedTaskbarActions { get; set; } =
[
TaskbarActionId.MinimizeToWindows.ToString(),
TaskbarActionId.OpenSettings.ToString()
];
public bool EnableDynamicTaskbarActions { get; set; } = false;
public string TaskbarLayoutMode { get; set; } = "BottomFullRowMacStyle";
public int DesktopPageCount { get; set; } = 1;
public int CurrentDesktopSurfaceIndex { get; set; } = 0;
public List<DesktopComponentPlacementSnapshot> DesktopComponentPlacements { get; set; } = [];
}