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