public GetNumRowsOnPageUpDown ( TreeViewItem fromItem, bool pageUp, float heightOfTreeView ) : int | ||
fromItem | TreeViewItem | |
pageUp | bool | |
heightOfTreeView | float | |
return | int |
public override int GetNumRowsOnPageUpDown(TreeViewItem fromItem, bool pageUp, float heightOfTreeView)
{
return (((int) Mathf.Floor(heightOfTreeView / base.k_LineHeight)) - 1);
}