CommonCreateAndAddDropDownRow(DynamicLayout, 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 DynamicLayout container,
string text,
List<string> options,
int position,
Action<DropDown, EventArgs> command,
Action keypress = null
)
<ExtensionAttribute>
Public Shared Function CreateAndAddDropDownRow (
container As DynamicLayout,
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 DynamicLayout
-
- 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
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