CommonCreateAndAddLabelAndButtonRow(DynamicLayout, String, String, String, ActionButton, EventArgs) Method |
Namespace: DWSIM.UI.SharedAssembly: DWSIM.ExtensionMethods.Eto (in DWSIM.ExtensionMethods.Eto.dll) Version: 8.8.1.0
Syntax public static Button CreateAndAddLabelAndButtonRow(
this DynamicLayout container,
string label,
string buttonlabel,
string imageResID,
Action<Button, EventArgs> command
)
<ExtensionAttribute>
Public Shared Function CreateAndAddLabelAndButtonRow (
container As DynamicLayout,
label As String,
buttonlabel As String,
imageResID As String,
command As Action(Of Button, EventArgs)
) As Button
Request Example
View SourceParameters
- container DynamicLayout
-
- label String
-
- buttonlabel String
-
- imageResID String
-
- command ActionButton, EventArgs
-
Return Value
ButtonUsage 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