CommonCreateAndAddDropDownRow(TableLayout, String, ListString, Int32, ActionDropDown, EventArgs, Action) Method |
Namespace: DWSIM.UI.SharedAssembly: DWSIM.ExtensionMethods.Eto (in DWSIM.ExtensionMethods.Eto.dll) Version: 8.8.1.0
Syntax public static DropDown CreateAndAddDropDownRow(
this TableLayout container,
string text,
List<string> options,
int position,
Action<DropDown, EventArgs> command,
Action keypress = null
)
<ExtensionAttribute>
Public Shared Function CreateAndAddDropDownRow (
container As TableLayout,
text As String,
options As List(Of String),
position As Integer,
command As Action(Of DropDown, EventArgs),
Optional keypress As Action = Nothing
) As DropDown
Request Example
View SourceParameters
- container TableLayout
-
- text String
-
- options ListString
-
- position Int32
-
- command ActionDropDown, EventArgs
-
- keypress Action (Optional)
-
Return Value
DropDownUsage 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