CommonCreateAndAddTextBoxRow(TableLayout, String, String, Double, ActionTextBox, EventArgs, Action) Method |
Namespace: DWSIM.UI.SharedAssembly: DWSIM.ExtensionMethods.Eto (in DWSIM.ExtensionMethods.Eto.dll) Version: 8.8.1.0
Syntax public static TextBox CreateAndAddTextBoxRow(
this TableLayout container,
string numberformat,
string text,
double currval,
Action<TextBox, EventArgs> command,
Action keypress = null
)
<ExtensionAttribute>
Public Shared Function CreateAndAddTextBoxRow (
container As TableLayout,
numberformat As String,
text As String,
currval As Double,
command As Action(Of TextBox, EventArgs),
Optional keypress As Action = Nothing
) As TextBox
Request Example
View SourceParameters
- container TableLayout
-
- numberformat String
-
- text String
-
- currval Double
-
- command ActionTextBox, EventArgs
-
- keypress Action (Optional)
-
Return Value
TextBoxUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
TableLayout. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also