WIP with data binding - bis...

This commit is contained in:
2017-09-14 18:33:29 +02:00
parent 97d69c07cb
commit dd9d848618
7 changed files with 13 additions and 18 deletions

View File

@@ -14,6 +14,7 @@ namespace ModernKeePass.ViewModels
public string URL { get; private set; }
public string Notes { get; private set; }
public EntryVm() { }
public EntryVm(PwEntry entry)
{
Title = entry.Strings.GetSafe(PwDefs.TitleField).ReadString();

View File

@@ -17,6 +17,8 @@ namespace ModernKeePass.ViewModels
}
}
public GroupVm() { }
public GroupVm(PwGroup group)
{
Name = group.Name;

View File

@@ -0,0 +1,8 @@

namespace ModernKeePass.ViewModels
{
public class Test
{
public string Title { get; set; }
}
}