public void Update(IObjectViewModel buffer) { if (!(buffer is CheckBoxViewModel)) { return; } var viewModel = (CheckBoxViewModel)buffer; Properties.Update(viewModel.Properties); TextProperties.Update(viewModel.TextProperties); ActionProperties.Update(viewModel.ActionProperties); }
public void Update(IObjectViewModel buffer) { if (!(buffer is LabelViewModel)) { return; } var viewModel = (LabelViewModel)buffer; Properties.Update(viewModel.Properties); TextProperties.Update(viewModel.TextProperties); RaisePropertyChanged(nameof(Color)); }
public void Update(IObjectViewModel buffer) { if (!(buffer is DatePickerViewModel)) { return; } var viewModel = (DatePickerViewModel)buffer; Properties.Update(viewModel.Properties); TextProperties.Update(viewModel.TextProperties); ActionProperties.Update(viewModel.ActionProperties); IsRequired = viewModel.IsRequired; }
public void Update(IObjectViewModel buffer) { if (!(buffer is RadioViewModel)) { return; } var viewModel = (RadioViewModel)buffer; Properties.Update(viewModel.Properties); GroupName = viewModel.GroupName; TextProperties.Update(viewModel.TextProperties); ActionProperties.Update(viewModel.ActionProperties); }