SftTree/NET 2.0 - Tree Control for Windows Forms


NavigateHome Method, SftTree Class

Navigates to the very first item or cell in the control.

Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET


public object NavigateHome(
    bool fSelect,
    bool fSelectCumulative );
Public Function NavigateHome(
    ByVal fSelect As Boolean,
    ByVal fSelectCumulative As Boolean
  ) As Object



Defines whether the item or cell found is automatically selected, True to select, otherwise False.


Defines whether the selection is cumulative. True if the selection is cumulative, otherwise False. This parameter is ignored if fSelect is False and can only be used with when multiple item or multiple cell selection is active (SftTree.SelectionStyle).

Return Value

The item or cell.


Navigates to the very first item or cell in the control.

Given a starting item or cell, this method returns the first item or cell in the control that can be selected. It considers cell merging and the selectable area (SftTree.SelectableArea).

If fSelect is True to automatically select the new item or cell, the specified StartObject, an item or cell, must match the current selection style (SftTree.SelectionStyle).

If the StartObject parameter is null/Nothing and the SftTree.FocusObject property is null/Nothing, the method returns null/Nothing.

See Also SftTree Class | Classes | SftTree/NET 2.0