Creates a combo box.
Namespace:
SGP.XUtilityAssembly: SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718
Syntax
C# |
---|
[DefaultMethodAttribute] public static ComboBox CreateComboBox( int x, int y, string text, params string[] items ) |
Parameters
- x
- Type: System..::.Int32
Position X.
- y
- Type: System..::.Int32
Position Y.
- text
- Type: System..::.String
A control text.
- items
- Type: array<
System..::.String
>[]()[]
Items in the selection.
Return Value
Returns a created control.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | text is nullNothingnullptra null reference (Nothing in Visual Basic). |