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