示例#1
0
 public static FieldBuilder RadioButton(string group)
 {
     return(new FieldBuilder().WithStyle(FieldStyle.UNBOUND_RADIO_BUTTON)
            .WithValidation(FieldValidatorBuilder.Basic().WithOption(group)));
 }
示例#2
0
 public FieldBuilder WithValidation(FieldValidatorBuilder builder)
 {
     return(WithValidation(builder.Build()));
 }