Inheritence

Constructors

BaseItemWidget

Fields

_items
ItemLayouts

Properties

BodyContextMenu Called when right clicking on the item's parent.
CanvasRect The inner of LocalRect with Margin
CurrentItemDragEvent
ItemActivated Called when an item is double left clicked.
ItemClicked Called when an item is clicked.
ItemContextMenu Called when an item is right clicked.
ItemDeselected Called when an item is no longer selected.
ItemDrag Called to see whether or not we can drag a specific item.
ItemHoverEnter Called when an item is hovered by the user's cursor.
ItemHoverLeave Called when an item is no longer hovered by the user's cursor.
ItemPaint Used to overwrite an item's style
Items
ItemsDeselectedobsolete Multiple items have been deselected
ItemSelected Called when an item is selected.
ItemsSelectedobsolete Multiple items have been selected
Margin
MultiSelect Whether to allow selecting multiple items at once.
OnBeforeDeselection Called before selection is changed on deselection. When multiple items are affected this will only be called once.
OnBeforeSelection Called before selection is changed on selection. When multiple items are affected this will only be called once.
OnSelectionChanged Called when selection has changed. When multiple items are affected this will only be called once.
ProvidesDebugMode
SelectedItems Selected items.
Selection
SelectionOverride Can override an item's selection here.
TimeMsPaint
timeMsRebuild
ToggleSelect If set, selecting an item will not deselect all already selected items, clicking a selected item will deselect it.

Methods

AddItem Add given item to this widget.
AddItems
Clear Remove all items.
Dirty
FindItemsThatStartWith
FindVirtualWidget Given an object, try to find the virtual widget. This can of course return null if the item isn't visible
GetAtIndex Returns the item at given index, or null.
GetItemAt Get the virtual item at this local position.
GetTooltip Called to retrieve a tooltip for given item.
IsSelected Return true if this item is selected.
ItemIndex Returns the index of given item.
OnDestroyed
OnDoubleClick
OnDragDrop
OnDragHover
OnDragHoverItem Called when a dragged item is being hovered over this widget. This is the place to make drag and drop previews.
OnDragItem Called when we start to drag an item.
OnDragLeave
OnDragStart
OnDropOnItem Called when an item is drag and dropped onto this widget.
OnHoverChanged Hover has changed, neither of these objects are guaranteed to be non null.
OnItemActivated
OnItemContextMenu The item has been right clicked
OnItemDrag Called when a dragged item is being hovered over this widget. This is the place to make drag and drop previews.
OnItemPressed Allows over-riding mouse press on an item, without click or selection. Return true to allow default behavior.
OnKeyPress
OnKeyPressOnItem A key has been pressed on this selected item.
OnLayoutChanged
OnMouseMove
OnMousePress
OnMouseReleased
OnPaint
OnResize
OnScrollChanged
OnSelectionAdded
OnShortcutPressed
PaintItem
PaintItemDebug
Rebuild Rebuild the panel layout.
RemoveItem Remove given item from this widget.
ResolveObject For derived classes where the object is wrapped in another class (i.e. TreeView)
ScrollTo Ensure that given item is in view, scrolling to it if necessary.
SelectAll
SelectItem Select given item.
SelectItems
SelectItemStartingWith
SelectMove Move the selection pointer by this many positions.
SelectMoveColumn
SelectMoveRow
SelectTo Select everything between the current selection pointer and this one.
SetItems
SetSelected Set the selection state of an item.
UnselectAll Unselects all items that are currently selected (if any)
UnselectItem Unselect given item.
UpdateIfDirty
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.