Extensions2AddEditTextBox Method

Adds a textbox for editing a double (numeric) value.

Definition

Namespace: DWSIM.ExtensionMethods.Eto
Assembly: DWSIM.ExtensionMethods.Eto (in DWSIM.ExtensionMethods.Eto.dll) Version: 10.0.0.0
public static TextBox AddEditTextBox(
	DynamicLayout container,
	string text,
	double currentvalue,
	string numberformat = "",
	Action<TextBox, EventArgs> textchangedhandler = null
)

Parameters

container  DynamicLayout
Layout container
text  String
Text (description)
currentvalue  Double
Current value to display on the textbox
numberformat  String  (Optional)
Number format (i.e. 'N2')
textchangedhandler  ActionTextBox, EventArgs  (Optional)
Handler for the TextChanged event.

Return Value

TextBox

See Also