Class FieldConfigurationExtensions
Extension methods on IFieldConfiguration for the Twitter Bootstrap 3 template.
Inheritance
System.Object
FieldConfigurationExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ChameleonForms.Templates.TwitterBootstrap3
Assembly: ChameleonForms.Templates.dll
Syntax
public static class FieldConfigurationExtensions
Methods
| Improve this Doc View SourceAsInputGroup(IFieldConfiguration)
Outputs the field in an input group using prepended and appended HTML.
Declaration
public static IFieldConfiguration AsInputGroup(this IFieldConfiguration fc)
Parameters
Type | Name | Description |
---|---|---|
IFieldConfiguration | fc | The configuration for a field |
Returns
Type | Description |
---|---|
IFieldConfiguration | The field configuration object to allow for method chaining |
Examples
@n.Field(labelHtml, elementHtml, validationHtml, metadata, new FieldConfiguration().Prepend(beforeHtml).Append(afterHtml).AsInputGroup(), false)