DropDown Properties

GeonBit.UI

DropDown Properties

The DropDown type exposes the following members.

Properties
  NameDescription
Public propertyAllowReselectValue
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.
Public propertyArrowDownImage
Get the image entity of the arrow on the side of the Selected Text Panel.
Public propertyBackground
Optional background entity that will not respond to events and will always be rendered right behind this entity.
(Inherited from Entity.)
Public propertyCount
How many items currently in the list.
Public propertyDefaultText
Default text to show when no value is selected from the list.
Public propertyDraggable
Is the entity draggable (eg can a user grab it and drag it around).
(Inherited from Entity.)
Public propertyEmpty
Is the list currently empty.
Public propertyEntityDefaultSize
Return the default size for this entity.
(Inherited from Entity.)
Public propertyFillColor
Entity fill color - this is just a sugarcoat to access the default fill color style property.
(Inherited from Entity.)
Public propertyInternalDestRect
Get internal destination rect.
(Inherited from Entity.)
Public propertyIsDirty
Get if this entity needs to recalculate destination rect.
(Inherited from Entity.)
Public propertyIsFocused
Does this entity or one of its children currently focused?
(Inherited from Entity.)
Public propertyIsMouseDown
Return if the mouse is currently pressing on this entity (eg over it and left mouse button is down).
(Inherited from Entity.)
Public propertyIsMouseOver
Return if the mouse is currently over this entity (regardless of weather or not mouse button is down).
(Inherited from Entity.)
Public propertyListVisible
Is the DropDown list currentle opened (visible).
Public propertyOpacity
Entity fill color opacity - this is just a sugarcoat to access the default fill color alpha style property.
(Inherited from Entity.)
Public propertyOutlineColor
Entity outline color - this is just a sugarcoat to access the default outline color style property.
(Inherited from Entity.)
Public propertyOutlineOpacity
Entity outline color opacity - this is just a sugarcoat to access the default outline color alpha style property.
(Inherited from Entity.)
Public propertyOutlineWidth
Entity outline width - this is just a sugarcoat to access the default outline color style property.
(Inherited from Entity.)
Public propertyPadding
Entity padding - this is just a sugarcoat to access the default padding style property.
(Inherited from Entity.)
Public propertyParent
Get the direct parent of this entity.
(Inherited from Entity.)
Public propertyPriority
Set entity render and update priority. DropDown entity override this function to give some bonus priority, since when list is opened it needs to override entities under it, which usually have bigger index in container.
(Overrides EntityPriority.)
Public propertyScale
Entity scale - this is just a sugarcoat to access the default scale style property.
(Inherited from Entity.)
Public propertyScrollPosition
Current scrollbar position.
Public propertySelectedIndex
Currently selected item index (or -1 if none is selected).
Public propertySelectedTextPanel
Get the selected text panel (what's shown when DropDown is closed).
Public propertySelectedTextPanelParagraph
Get the selected text panel paragraph (the text that's shown when DropDown is closed).
Public propertySelectedValue
Currently selected item value (or null if none is selected).
Public propertySelectList
Get the drop-down list component.
Public propertyShadowColor
Entity shadow color - this is just a sugarcoat to access the default shadow color style property.
(Inherited from Entity.)
Public propertyShadowOffset
Entity shadow offset - this is just a sugarcoat to access the default shadow offset style property.
(Inherited from Entity.)
Public propertyShadowScale
Entity shadow scale - this is just a sugarcoat to access the default shadow scale style property.
(Inherited from Entity.)
Public propertySize
Entity current size property.
(Inherited from Entity.)
Public propertySpaceAfter
Extra space (in pixels) to reserve *after* this entity when using Auto Anchors.
(Inherited from Entity.)
Public propertySpaceBefore
Extra space (in pixels) to reserve *before* this entity when using Auto Anchors.
(Inherited from Entity.)
Public propertyState
Current entity state (default / mouse hover / mouse down..).
(Inherited from Entity.)
Public propertyVisible
Set / get visibility.
(Inherited from Entity.)
Top
See Also