eDriven Framework API
AddField Method (id, label, control, itemLayout)
Namespaces ► eDriven.Gui.Form ► Form ► AddField(String, String, Component, LayoutBase)
eDriven Framework API
Adds the component to a form
Registers th efield using the supplied ID
Declaration Syntax

C# | Visual Basic | Visual C++

    public void AddField(
    	string id,
    	string label,
    	Component control,
    	LayoutBase itemLayout = null
    )

    Public Sub AddField ( _
    	id As String, _
    	label As String, _
    	control As Component, _
    	Optional itemLayout As LayoutBase = Nothing _
    )

    public:
    void AddField(
    	String^ id,
    	String^ label,
    	Component^ control,
    	LayoutBase^ itemLayout = nullptr
    )

Parameters

id (String)

label (String)

control (Component)

itemLayout (LayoutBase) (Optional)

Exceptions

Exception | Condition
--- | ---
Exception |

Assembly: eDriven.Gui (Module: eDriven.Gui) Version: 2.0.1.0 (2.0.1.0)