DropDown Properties |
The DropDown type exposes the following members.
Name | Description | |
---|---|---|
AllowReselectValue |
If true and user clicks on the item currently selected item, it will still invoke value change event as if
a new value was selected.
| |
Anchor |
Set / get anchor.
(Inherited from Entity.) | |
ArrowDownImage |
Get the image entity of the arrow on the side of the Selected Text Panel.
| |
Background |
Optional background entity that will not respond to events and will always be rendered right behind this entity.
(Inherited from Entity.) | |
Children |
Get / set children list.
(Inherited from Entity.) | |
Count |
How many items currently in the list.
| |
DefaultText | Default text to show when no value is selected from the list. | |
Draggable |
Is the entity draggable (eg can a user grab it and drag it around).
(Inherited from Entity.) | |
Empty |
Is the list currently empty.
| |
EntityDefaultSize |
Return the default size for this entity.
(Inherited from Entity.) | |
FillColor |
Entity fill color - this is just a sugarcoat to access the default fill color style property.
(Inherited from Entity.) | |
HasSelectedValue |
Return if currently have a selected value.
| |
InternalDestRect |
Get internal destination rect.
(Inherited from Entity.) | |
IsFocused | Does this entity or one of its children currently focused? (Inherited from Entity.) | |
IsMouseDown |
Return if the mouse is currently pressing on this entity (eg over it and left mouse button is down).
(Inherited from Entity.) | |
IsMouseOver |
Return if the mouse is currently over this entity (regardless of whether or not mouse button is down).
(Inherited from Entity.) | |
ListVisible |
Is the DropDown list currentle opened (visible).
| |
MaxSize |
If defined, will limit the maximum size of this entity when calculating size.
This is especially useful for entities with size that depends on their parent entity size, for example
if you define an entity to take 20% of its parent space but can't be more than 200 pixels width.
(Inherited from Entity.) | |
MinSize |
If defined, will limit the minimum size of this entity when calculating size.
This is especially useful for entities with size that depends on their parent entity size, for example
if you define an entity to take 20% of its parent space but can't be less than 200 pixels width.
(Inherited from Entity.) | |
Offset |
Set / get offset.
(Inherited from Entity.) | |
Opacity |
Entity fill color opacity - this is just a sugarcoat to access the default fill color alpha style property.
(Inherited from Entity.) | |
OutlineColor |
Entity outline color - this is just a sugarcoat to access the default outline color style property.
(Inherited from Entity.) | |
OutlineOpacity |
Entity outline color opacity - this is just a sugarcoat to access the default outline color alpha style property.
(Inherited from Entity.) | |
OutlineWidth |
Entity outline width - this is just a sugarcoat to access the default outline color style property.
(Inherited from Entity.) | |
Padding |
Entity padding - this is just a sugarcoat to access the default padding style property.
(Inherited from Entity.) | |
Parent |
Get the direct parent of this entity.
(Inherited from Entity.) | |
RawStyleSheet |
Get / set raw stylesheet.
(Inherited from Entity.) | |
Scale |
Entity scale - this is just a sugarcoat to access the default scale style property.
(Inherited from Entity.) | |
ScrollPosition |
Current scrollbar position.
| |
SelectedIndex |
Currently selected item index (or -1 if none is selected).
| |
SelectedTextPanel |
Get the selected text panel (what's shown when DropDown is closed).
| |
SelectedTextPanelParagraph |
Get the selected text panel paragraph (the text that's shown when DropDown is closed).
| |
SelectedValue |
Currently selected item value (or null if none is selected).
| |
SelectList |
Get the drop-down list component.
| |
ShadowColor |
Entity shadow color - this is just a sugarcoat to access the default shadow color style property.
(Inherited from Entity.) | |
ShadowOffset |
Entity shadow offset - this is just a sugarcoat to access the default shadow offset style property.
(Inherited from Entity.) | |
ShadowScale |
Entity shadow scale - this is just a sugarcoat to access the default shadow scale style property.
(Inherited from Entity.) | |
Size |
Entity current size property.
(Inherited from Entity.) | |
SpaceAfter |
Extra space (in pixels) to reserve *after* this entity when using Auto Anchors.
(Inherited from Entity.) | |
SpaceBefore |
Extra space (in pixels) to reserve *before* this entity when using Auto Anchors.
(Inherited from Entity.) | |
State |
Current entity state (default / mouse hover / mouse down..).
(Inherited from Entity.) | |
Visible |
Set / get visibility.
(Inherited from Entity.) |