Пример #1
0
 public override void CreateEditControls(IDotvvmRequestContext context, DotvvmControl container)
 {
     var checkBox = new CheckBox { Enabled = true };
     checkBox.SetBinding(CheckableControlBase.CheckedProperty, GetValueBinding(ValueBindingProperty));
     container.Children.Add(checkBox);
 }