SftTree/NET 2.0

SelectionHighlightStyle Property, SftTree Class

Softel vdm, Inc.

Defines the appearance of a selected item or cell.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Property SelectionHighlightStyle As SelectionHighlightStyleEnum

C#   

public SelectionHighlightStyleEnum SelectionHighlightStyle { get; set; }

C++   

public: property SelectionHighlightStyleEnum SelectionHighlightStyle {
        SelectionHighlightStyleEnum get();
        void set(SelectionHighlightStyleEnum value);
}

Property Value

The appearance of a selected item or cell.

SelectionHighlightStyleEnum

Value

Description

Complete

0

The entire cell or item is highlighted in its entirety.
If the SelectionStyle property defines item selection (SelectionStyleEnum.SingleItem, SelectionStyleEnum.MultipleItems), all cells of the item are highlighted using the defined selection outline style (SelectionOutlineStyle).
If cell selection is used (SelectionStyleEnum.SingleCell, SelectionStyleEnum.MultipleCells, SelectionStyleEnum.BlockOfCells), the selected cell is highlighted using the defined selection outline style (SelectionOutlineStyle).

Cells

1

The entire cell or item (excluding the hierarchy area) is highlighted.
If the SelectionStyle property defines item selection (SelectionStyleEnum.SingleItem, SelectionStyleEnum.MultipleItems), all cells of the item are highlighted using the defined selection outline style (SelectionOutlineStyle). The hierarchy area of the hierarchy column (ColumnClass.ShowHierarchy) is not highlighted.
If cell selection is used (SelectionStyleEnum.SingleCell, SelectionStyleEnum.MultipleCells, SelectionStyleEnum.BlockOfCells), the selected cell is highlighted using the defined selection outline style (SelectionOutlineStyle). If the cell is part of the hierarchy column (ColumnClass.ShowHierarchy), the hierarchy area of the cell is not highlighted.

FirstCell

2

The entire first displayed cell (excluding the hierarchy area) is highlighted. If the cell is part of the hierarchy column (ColumnClass.ShowHierarchy), the hierarchy area of the cell is not highlighted.

HierarchyCell

3

The entire cell in the hierarchy column, excluding the hierarchy area, is highlighted.

HierarchyPartsOnlyLoose

4

The parts of the cell in the hierarchy column are highlighted. The highlight extends from the top of the cell to the bottom, but is limited in width to highlight just the parts in the cell (plus the left and right side gaps defined using Dimensions.TightOutlineGap.Width)

HierarchyPartsOnlyTight

5

The parts of the cell in the hierarchy column are highlighted. The highlight is constrained to the smallest rectangle containing all parts (plus the left, right, top and bottom gaps defined using Dimensions.TightOutlineGap).

The default value is SelectionHighlightStyleEnum.Cells.

Comments

The SelectionHighlightStyle property defines the appearance of a selected item or cell.

The defined appearance is also used to highlight an item or cell for flyby highlighting.


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