Added cap value report saver to wpf sample.

This commit is contained in:
Eugene Wang
2017-02-03 07:06:44 -05:00
parent 676a4c640a
commit 24bd82670a
6 changed files with 77 additions and 14 deletions

View File

@@ -75,8 +75,6 @@ namespace Sample.WPF
}
}
public object MyProperty { get; set; }
public CapabilityId Cap { get; private set; }
public string Name
@@ -85,7 +83,7 @@ namespace Sample.WPF
{
if (Cap > CapabilityId.CustomBase)
{
return "[Custom] " + ((int)Cap - (int)CapabilityId.CustomBase);
return "[CustomBase]+" + ((int)Cap - (int)CapabilityId.CustomBase);
}
return Cap.ToString();
}