2020-04-07 17:29:03 +02:00
|
|
|
|
using Windows.Storage;
|
2020-04-06 20:20:45 +02:00
|
|
|
|
using ModernKeePass.Application.Common.Interfaces;
|
2018-09-07 18:16:40 +02:00
|
|
|
|
|
|
|
|
|
namespace ModernKeePass.ViewModels
|
2017-10-16 16:16:58 +02:00
|
|
|
|
{
|
|
|
|
|
public class NewVm : OpenVm
|
|
|
|
|
{
|
2018-09-10 17:29:52 +02:00
|
|
|
|
private string _importFormatHelp;
|
2018-09-07 18:16:40 +02:00
|
|
|
|
|
|
|
|
|
public bool IsImportChecked { get; set; }
|
|
|
|
|
|
|
|
|
|
public IStorageFile ImportFile { get; set; }
|
|
|
|
|
|
2018-09-10 17:29:52 +02:00
|
|
|
|
public string ImportFileExtensionFilter { get; set; } = "*";
|
|
|
|
|
|
2020-04-06 20:20:45 +02:00
|
|
|
|
public IImportFormat ImportFormat { get; set; }
|
2018-09-10 17:29:52 +02:00
|
|
|
|
|
|
|
|
|
public string ImportFormatHelp
|
|
|
|
|
{
|
|
|
|
|
get { return _importFormatHelp; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_importFormatHelp = value;
|
|
|
|
|
OnPropertyChanged(nameof(ImportFormatHelp));
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-10-16 16:16:58 +02:00
|
|
|
|
}
|
|
|
|
|
}
|