CommonCreateAndAddStringEditorRow(TableLayout, String, String, 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 CreateAndAddStringEditorRow(
this TableLayout container,
string text,
string currval,
Action<TextBox, EventArgs> command,
Action keypress = null
)
<ExtensionAttribute>
Public Shared Function CreateAndAddStringEditorRow (
container As TableLayout,
text As String,
currval As String,
command As Action(Of TextBox, EventArgs),
Optional keypress As Action = Nothing
) As TextBox
Request Example
View SourceParameters
- container TableLayout
-
- text String
-
- currval String
-
- 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