Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

NavigateLeft Method, SftTree Class

Navigates left one item or cell from the specified item or cell.

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

Syntax

public object NavigateLeft(
    object StartObject,
    bool fCollapse,
    bool fSelect,
    bool fSelectCumulative );
Public Function NavigateLeft(
    ByVal StartObject As Object,
    ByVal fCollapse As Boolean,
    ByVal fSelect As Boolean,
    ByVal fSelectCumulative As Boolean
  ) As Object

Parameters

StartObject

Defines the starting item (ItemClass) or cell (CellClass). If null/Nothing is specified, the focus object (SftTree.FocusObject) is the starting item or cell.

fCollapse

Defines whether the item is collapsed if the starting item or cell is an item which can be collapsed. True to collapse the item, otherwise False. If an item is collapsed, the returned item or cell is identical to the start object (StartObject).

fSelect

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

fSelectCumulative

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.

Comments

Navigates left one item or cell from the specified item or cell.

Given a starting item or cell, this method returns the next item or cell in that direction 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



Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.