public override object ToObject()
        {
            // create checkBox from CreateEditCheckBoxViewModel
            var validation = new List <BaseElementValidator>();

            validation.AddRange(ElementValidators.Where(x => x.IsChecked).ToList());

            var obj = new MnCheckBox()
            {
                Title = Title, HelpText = HelpText
            };

            obj.Validations.AddRange(validation);
            return(obj);
        }
 public CreateEditCheckBoxViewModel(MnCheckBox datePicker)
 {
     Title    = datePicker.Title;
     HelpText = datePicker.HelpText;
 }