internal HtmlForm(HtmlObject element, string name, string action, HtmlFormMethod method, ContentType encType) { Element = element; Name = name; Action = action; Method = method; EncType = encType; }
public static T SetMethod <T>(this T control, HtmlFormMethod method) where T : FormControl { control.Method = method; return(control); }
public HtmlForm(string action, HtmlFormMethod method, List <InputElement> inputElements) { Action = action; Method = method; InputElements = inputElements; }