CommonCreateAndAddCheckBoxRow(DynamicLayout, String, Boolean, ActionCheckBox, EventArgs, Action) Method |
Namespace: DWSIM.UI.SharedAssembly: DWSIM.ExtensionMethods.Eto (in DWSIM.ExtensionMethods.Eto.dll) Version: 8.8.1.0
Syntax public static CheckBox CreateAndAddCheckBoxRow(
this DynamicLayout container,
string text,
bool value,
Action<CheckBox, EventArgs> command,
Action keypress = null
)
<ExtensionAttribute>
Public Shared Function CreateAndAddCheckBoxRow (
container As DynamicLayout,
text As String,
value As Boolean,
command As Action(Of CheckBox, EventArgs),
Optional keypress As Action = Nothing
) As CheckBox
Request Example
View SourceParameters
- container DynamicLayout
-
- text String
-
- value Boolean
-
- command ActionCheckBox, EventArgs
-
- keypress Action (Optional)
-
Return Value
CheckBoxUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
DynamicLayout. 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