BaseFormBuilderMoveFieldsInternal Method |
Moves fields specified by fieldNames to new position in category with name category.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax protected string MoveFieldsInternal(
IEnumerable<string> fieldNames,
string category,
int position
)
Parameters
- fieldNames
- Type: System.Collections.GenericIEnumerableString
Field names to move - category
- Type: SystemString
Name of category to which the fields will be moved; if empty position is taken from the beginning of the form - position
- Type: SystemInt32
Position in category/form to which the fields will be moved; starts from 0
Return Value
Type:
StringRemarks Returns an error message in case any field from fieldNames doesn't exist. Method modifies current form definition but does not save the changes!
See Also