Class FieldConfigurationExtensions
Provides additional configuration options to FieldConfiguration
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.Component.Config
Assembly: ChameleonForms.Core.dll
Syntax
public static class FieldConfigurationExtensions
Methods
| Improve this Doc View SourceAutoFocus(IFieldConfiguration)
Applys the autofocus attribute to a given field
Declaration
public static IFieldConfiguration AutoFocus(this IFieldConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
IFieldConfiguration | config | Field configuration to modify |
Returns
Type | Description |
---|---|
IFieldConfiguration | The instance of IFieldConfiguration passed in to continue chaining things |
TabIndex(IFieldConfiguration, Int32)
Sets the tab index of a given field
Declaration
public static IFieldConfiguration TabIndex(this IFieldConfiguration config, int index)
Parameters
Type | Name | Description |
---|---|---|
IFieldConfiguration | config | Field configuration to update |
System.Int32 | index | Tab index to be set |
Returns
Type | Description |
---|---|
IFieldConfiguration | The instance of IFieldConfiguration passed in to continue chaining things |