Share via


FormGroupControl.addControl Method

Adds a form control to a form group control.

Syntax

public FormControl addControl(
    FormControlType controlType, 
    str controlName, 
   [FormControl insertAfter])

Run On

Client

Parameters

  • controlName
    Type: str
    A String data type that specifies the control name.
  • insertAfter
    Type: FormControl Class
    A value that indicates the position of the control; optional. The default value is nullNothingnullptrunita null reference (Nothing in Visual Basic).

Return Value

Type: FormControl Class
A FormControl object that configures form controls.

See Also

Reference

FormGroupControl Class