SftTree/NET 2.0

SelectableArea Property, SftTree Class

Softel vdm, Inc.

Defines which areas of items or cells can be clicked by an end user to select the item or cell.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Property SelectableArea As SelectableAreaEnum

C#   

public SelectableAreaEnum SelectableArea { get; set; }

C++   

public: property SelectableAreaEnum SelectableArea {
        SelectableAreaEnum get();
        void set(SelectableAreaEnum value);
}

Property Value

The selectable area.

SelectableAreaEnum

Value

Description

Anywhere

0

The entire cell or item can be used to change the selection.
If the SelectionStyle property defines item selection (SelectionStyleEnum.SingleItem, SelectionStyleEnum.MultipleItems), clicking anywhere on the item (any of its cells, including hierarchy area) will change the selection.
If cell selection is used (SelectionStyleEnum.SingleCell, SelectionStyleEnum.MultipleCells, SelectionStyleEnum.BlockOfCells), clicking anywhere within a cell (including hierarchy area) will change the selection.

Cells

1

The entire cell or item (excluding the hierarchy area) can be used to change the selection.
If the SelectionStyle property defines item selection (SelectionStyleEnum.SingleItem, SelectionStyleEnum.MultipleItems), all cells of the item can be used to change the selection. The hierarchy area of the hierarchy column (ColumnClass.ShowHierarchy) does not change the selection.
If cell selection is used (SelectionStyleEnum.SingleCell, SelectionStyleEnum.MultipleCells, SelectionStyleEnum.BlockOfCells), the cell can change the selection. If the cell is part of the hierarchy column (ColumnClass.ShowHierarchy), the hierarchy area of the cell does not change the selection.

FirstCell

2

The entire first displayed cell (excluding the hierarchy area) can be used to change the selection. If the cell is part of the hierarchy column (ColumnClass.ShowHierarchy), the hierarchy area does not change the selection.

HierarchyCell

3

The entire cell in the hierarchy column, excluding the hierarchy area, can be used to change the selection.

MimicSelectionHighlight

4

Clicking anywhere within the area that is defined by the SelectionHighlightStyle property changes the selection.

The default value is SelectableAreaEnum.Anywhere.

Comments

The SelectableArea property defines which areas of items or cells can be clicked by an end user to select the item or cell.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com