Skip to main content

FormSimpleItemBuilder Methods

This article describes configuration options of a simple form item.
Name Description
ColSpan(JS) Mirrors the client-side colSpan option.
ColSpan(Int32) Mirrors the client-side colSpan option.
CssClass(JS) Mirrors the client-side cssClass option.
CssClass(String) Mirrors the client-side cssClass option.
DataField(JS) Mirrors the client-side dataField option.
DataField(String) Mirrors the client-side dataField option.
Editor(Func<FormItemEditorFactory, WidgetBuilder>) Configures a control that is used as a form item’s editor.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
HelpText(JS) Mirrors the client-side helpText option.
HelpText(String) Mirrors the client-side helpText option.
IsRequired(JS) Mirrors the client-side isRequired option.
IsRequired(Boolean) Mirrors the client-side isRequired option.
Label(Action<FormItemLabelBuilder>) Mirrors the client-side label object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Name(JS) Mirrors the client-side name option.
Name(String) Mirrors the client-side name option.
Option(String, Object) Specifies an option by its name.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Template(JS) Specifies the client-side template.
Template(RazorBlock) Specifies the client-side template.
Template(TemplateName) Specifies the client-side template.
Template(String) Specifies the client-side template.
ToString() Returns a string that represents the current object. Inherited from Object.
ValidationRules(Action<ValidationRulesFactory>) Mirrors the client-side validationRules object.
Visible(JS) Mirrors the client-side visible option.
Visible(Boolean) Mirrors the client-side visible option.
VisibleIndex(JS) Mirrors the client-side visibleIndex option.
VisibleIndex(Int32) Mirrors the client-side visibleIndex option.
See Also