CommonCreateAndAddButtonRow(DynamicLayout, 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 CreateAndAddButtonRow(
this DynamicLayout container,
string buttonlabel,
string imageResID,
Action<Button, EventArgs> command
)
<ExtensionAttribute>
Public Shared Function CreateAndAddButtonRow (
container As DynamicLayout,
buttonlabel As String,
imageResID As String,
command As Action(Of Button, EventArgs)
) As Button
Request Example
View SourceParameters
- container DynamicLayout
-
- 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