public TemplateImageViewModel Copy() { var viewModel = new TemplateImageViewModel(X, Y, Width, Height, Id, _parentWidth, _parentHeight) { _isSelected = IsSelected }; return(viewModel); }
public void CopyTo(TemplateImageViewModel to) { to._parentHeight = _parentHeight; to._parentWidth = _parentWidth; to._x = X; to._y = Y; to._width = Width; to._height = Height; to._isSelected = IsSelected; to.Id = Id; to.UpdateProperties(); }
public void CopyTo(TemplateImageViewModel to) { to._parentHeight = _parentHeight; to._parentWidth = _parentWidth; to._x = X; to._y = Y; to._width = Width; to._height = Height; to._isSelected = IsSelected; to.Id = Id; to.UpdateProperties(); }
public TemplateImageViewModel Copy() { var viewModel = new TemplateImageViewModel(X, Y, Width, Height, Id, _parentWidth, _parentHeight) { _isSelected = IsSelected }; return viewModel; }