DropDown Constructor

GeonBit.UI

DropDown Constructor
Create the DropDown list.

Namespace:  GeonBit.UI.Entities
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public DropDown(
	Vector2 size,
	Anchor anchor = Anchor.Auto,
	Nullable<Vector2> offset = null,
	PanelSkin skin = PanelSkin.ListBackground,
	Nullable<PanelSkin> listSkin = null,
	bool showArrow = true
)

Parameters

size
Type: Vector2
List size (refers to the whole size of the list + the header when dropdown list is opened).
anchor (Optional)
Type: GeonBit.UI.EntitiesAnchor
Position anchor.
offset (Optional)
Type: SystemNullableVector2
Offset from anchor position.
skin (Optional)
Type: GeonBit.UI.EntitiesPanelSkin
Panel skin to use for this DropDown list and header.
listSkin (Optional)
Type: SystemNullablePanelSkin
An optional skin to use for the dropdown list only (if you want a different skin for the list).
showArrow (Optional)
Type: SystemBoolean
If true, will show an up/down arrow next to the dropdown text.
See Also