IReorderableListAdaptor.DrawItemBackground Method

Rotorz ReorderableList

IReorderableListAdaptorDrawItemBackground Method
Draws background of a list item.

Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntax
void DrawItemBackground(
	Rect position,
	int index
)
function DrawItemBackground(
	position : Rect,
	index : int
)

Parameters

position
Type: Rect
Total position of list element in GUI.
index
Type: SystemInt32
Zero-based index of array element.
Remarks

This method is only used to handle GUI repaint events.

Background of list item spans a slightly larger area than the main interface that is drawn by DrawItem(Rect, Int32) since it is drawn behind the grab handle.

See Also