Click or drag to resize
SelectList Methods

The SelectList type exposes the following members.

Methods
  NameDescription
Public methodAddChild
Add a child entity.
(Inherited from Entity.)
Public methodAddItem(String)
Add value to list.
Public methodAddItem(String, Int32)
Add value to list at a specific index.
Public methodAttachAnimator
Add animator to this entity.
(Inherited from Entity.)
Public methodBringToFront
Bring this entity to be on front (inside its parent).
(Inherited from Entity.)
Public methodCalcDestRect
Calculate and return the destination rectangle, eg the space this entity is rendered on.
(Inherited from Entity.)
Public methodClearChildren
Remove all children entities.
(Inherited from Entity.)
Public methodClearItems
Remove all items from the list.
Public methodDraw
Draw this panel.
(Inherited from PanelBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFindT(String, Boolean)
Find and return first occurance of a child entity with a given identifier and specific type.
(Inherited from Entity.)
Public methodGetActiveStyle
Return stylesheet property for current entity state (or default if undefined for state).
(Inherited from Entity.)
Public methodGetActualDestRect
Return actual destination rectangle. This can be override and implemented by things like Paragraph, where the actual destination rect is based on text content, font and word-wrap.
(Inherited from Entity.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRelativeOffset
Return the relative offset, in pixels, from parent top-left corner.
(Inherited from Entity.)
Public methodGetStyleProperty
Return stylesheet property for a given state.
(Inherited from Entity.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDeepChildOf
Check if this entity is a descendant of another entity. This goes up all the way to root.
(Inherited from Entity.)
Public methodIsDisabled
Return if this entity is currently disabled, due to self or one of the parents / grandparents being disabled.
(Inherited from Entity.)
Public methodIsLocked
Return if this entity is currently locked, due to self or one of the parents / grandparents being locked.
(Inherited from Entity.)
Public methodIsTouching
Test if a given point is inside entity's boundaries.
(Inherited from Entity.)
Public methodIsVisible
Return if this entity is currently visible, eg this and all its parents and grandparents are visible.
(Inherited from Entity.)
Public methodIterateChildren
Iterate over children and call 'callback' for every direct child of this entity.
(Inherited from Entity.)
Public methodMatchHeightToList
Calculate the height of the select list to match the height of all the items in it.
Public methodPropagateEventsTo(DropDown)
Propagate all events trigger by this entity to a given other entity. For example, if "OnClick" will be called on this entity, it will trigger OnClick on 'other' as well.
Public methodPropagateEventsTo(Entity)
Propagate all events trigger by this entity to a given other entity. For example, if "OnClick" will be called on this entity, it will trigger OnClick on 'other' as well.
(Inherited from Entity.)
Public methodPropagateEventsTo(SelectList)
Propagate all events trigger by this entity to a given other entity. For example, if "OnClick" will be called on this entity, it will trigger OnClick on 'other' as well.
Public methodRemoveAnimator
Remove animator from entity.
(Inherited from Entity.)
Public methodRemoveChild
Remove child entity.
(Inherited from Entity.)
Public methodRemoveFromParent
Remove this entity from its parent.
(Inherited from Entity.)
Public methodRemoveItem(Int32)
Remove item from the list, by index.
Public methodRemoveItem(String)
Remove value from the list.
Public methodscrollToEnd
Move scrollbar to last item in list.
Public methodScrollToSelected
Move scrollbar to currently selected item.
Public methodSendToBack
Push this entity to the back (inside its parent).
(Inherited from Entity.)
Public methodSetAnchorAndOffset
Set the position and anchor of this entity.
(Inherited from Entity.)
Public methodSetCustomSkin
Override the default theme textures and set a custom skin for this specific button.
(Inherited from PanelBase.)
Public methodSetHeightBasedOnChildren
Set the panel's height to match its children automatically. Note: to make this happen on its own every frame, set the 'AdjustHeightAutomatically' property to true.
(Overrides PanelBaseSetHeightBasedOnChildren.)
Public methodSetStyleProperty
Set a stylesheet property.
(Inherited from Entity.)
Public methodToEntitiesDictionary
Create and return a dictionary of entities, where key is Identifier and value is the entity. This will include self + all children (and their children), and will only include entities that have Identifier property defined. Note: if multiple entities share the same identifier, the deepest entity in hirarchy will end up in dict.
(Inherited from Entity.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnselect
Clear current selection.
Public methodUpdate
Called every frame to update entity state and call events.
(Inherited from Entity.)
Public methodUpdateStyle
Update the entire stylesheet from a different stylesheet.
(Inherited from Entity.)
Top
See Also