public FormElement(bool allowMethodOverrideSyntax) : base("form") { ContentModel.Clear(); ContentModel.AddRange(Document.GetContentModelFor <IFormElement>()); Attributes.AllowedAttributes = Document.GetAllowedAttributesFor <IFormElement>(); IsMethodOverrideActive = allowMethodOverrideSyntax; }