Files
downkyicore/DownKyi.Core/Settings/Models/WindowSettings.cs

20 lines
540 B
C#

namespace DownKyi.Core.Settings.Models;
public class WindowSettings
{
public double Width { get; set; } = 1100; // 默认宽度
public double Height { get; set; } = 750; // 默认高度
public double X { get; set; } = double.NaN; // 默认位置未设置
public double Y { get; set; } = double.NaN; // 默认位置未设置
public WindowSettings Clone()
{
return new WindowSettings
{
Width = Width,
Height = Height,
X = X,
Y = Y
};
}
}