Creates a new combo box
Namespace: Skewworks.NETMF.ControlsAssembly: Skewworks.NETMF.Controls (in Skewworks.NETMF.Controls.dll) Version: 2.5.0.0 (2.5.0.0)
Syntax
C# |
---|
public Combobox( string name, Font font, int x, int y, int width, int height, ListboxItem[] items, bool forcePopup = false ) |
Parameters
- name
- Type: System..::..String
Name of the check box
- font
- Type: Font
Font to render the content text
- x
- Type: System..::..Int32
X position relative to it's parent
- y
- Type: System..::..Int32
Y position relative to it's parent
- width
- Type: System..::..Int32
Width in pixel
- height
- Type: System..::..Int32
Height in pixel
- items
- Type: array<Skewworks.NETMF.Controls..::..ListboxItem>[]()[][]
Items to initially add to the combo box
- forcePopup (Optional)
- Type: System..::..Boolean
true if the combo box should always display a pop-up even if it has room for a drop-down