Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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;
        }
Ejemplo n.º 3
0
        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);
        }
Ejemplo n.º 4
0
        public void Update(IObjectViewModel buffer)
        {
            if (!(buffer is TextBoxViewModel))
            {
                return;
            }
            var viewModel = (TextBoxViewModel)buffer;

            Properties.Update(viewModel.Properties);
            Text        = viewModel.Text;
            IsMultiline = viewModel.IsMultiline;
            IsRequired  = viewModel.IsRequired;
            ActionProperties.Update(viewModel.ActionProperties);
        }