CommonCreateAndAddDropDownRow(DynamicLayout, String, ListString, Int32, ActionDropDown, EventArgs, Int32, 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,
int ddwidth,
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),
ddwidth As Integer,
Optional keypress As Action = Nothing
) As DropDown
Request Example
View SourceParameters
- container DynamicLayout
-
- text String
-
- options ListString
-
- position Int32
-
- command ActionDropDown, EventArgs
-
- ddwidth Int32
-
- 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