Method AdjustSelection
AdjustSelection(int, bool)
The number of screen lines to move the currently selected object by. Supports negative values.
offset
. Each branch occupies 1 line on screen.
public void AdjustSelection(int offset, bool expandSelection = false)
Parameters
offset
intPositive to move the selection down the screen, negative to move it up
expandSelection
boolTrue to expand the selection (assuming MultiSelect is enabled). False to replace.
Remarks
If nothing is currently selected or the selected object is no longer in the tree then the first object in the tree is selected instead.