CommonCreateAndAddCheckBoxRow(DynamicLayout, String, Boolean, ActionCheckBox, EventArgs, Action) Method

Definition

Namespace: DWSIM.UI.Shared
Assembly: DWSIM.ExtensionMethods.Eto (in DWSIM.ExtensionMethods.Eto.dll) Version: 10.0.0.0
public static CheckBox CreateAndAddCheckBoxRow(
	this DynamicLayout container,
	string text,
	bool value,
	Action<CheckBox, EventArgs> command,
	Action keypress = null
)

Parameters

container  DynamicLayout
 
text  String
 
value  Boolean
 
command  ActionCheckBox, EventArgs
 
keypress  Action  (Optional)
 

Return Value

CheckBox

Usage 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