FormSimpleItemBuilder Methods

This article describes configuration options of a simple form item.

Name Description
ColSpan(Int32)

Specifies the number of columns spanned by the item.

ColSpan(JS)

Specifies the number of columns spanned by the item.

CssClass(JS)

Specifies a CSS class to be applied to the form item.

CssClass(String)

Specifies a CSS class to be applied to the form item.

DataField(JS)

Specifies the path to the formData object field bound to the current form item.

DataField(String)

Specifies the path to the formData object field bound to the current form item.

Editor(Func<FormItemEditorFactory, WidgetBuilder>)

Specifies which editor widget is used to display and edit the form item value.

Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) static Determines whether the specified object instances are considered equal.
(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)

Specifies the help text displayed for the current form item.

HelpText(String)

Specifies the help text displayed for the current form item.

IsRequired(Boolean)

Specifies whether the current form item is required.

IsRequired(JS)

Specifies whether the current form item is required.

Label(Action<FormItemLabelBuilder>)

Specifies options for the form item label.

MemberwiseClone() Creates a shallow copy of the current Object.
(Inherited from Object)
Name(JS)

Specifies a name that identifies the form item.

Name(String)

Specifies a name that identifies the form item.

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)

A template to be used for rendering the form item.

Template(RazorBlock)

A template to be used for rendering the form item.

Template(String)

A template to be used for rendering the form item.

Template(TemplateName)

A template to be used for rendering the form item.

ToString() Returns a string that represents the current object.
(Inherited from Object)
ValidationRules(Action<ValidationRulesFactory>)

An array of validation rules to be checked for the form item editor.

Visible(Boolean)

Specifies whether or not the current form item is visible.

Visible(JS)

Specifies whether or not the current form item is visible.

VisibleIndex(Int32)

Specifies the sequence number of the item in a form, group or tab.

VisibleIndex(JS)

Specifies the sequence number of the item in a form, group or tab.

See Also