Example #1
0
 public GamePlayerView Load(GamePlayerViewModel vm)
 {
     Portrait.SetCurrentValue(Image.SourceProperty, vm.Portrait);
     Division.SetCurrentValue(Image.SourceProperty, vm.DivisionMedal);
     Name.Text = vm.Name;
     return(this);
 }
Example #2
0
 public void ClearView()
 {
     Portrait.SetCurrentValue(Image.SourceProperty, img);
     Name.Text = "";
     Division.SetCurrentValue(Image.SourceProperty, null);
 }