Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

SelectionHighlightStyleEnum Enumeration

Defines the appearance of selected (or highlighted) cells and items.

Class: (none)
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public enum SelectionHighlightStyleEnum;
Public Enum SelectionHighlightStyleEnum

Values

NameDescription
CompleteThe entire cell or item is highlighted in its entirety.
If the SftTree.SelectionStyle property defines item selection (SelectionStyleEnum.SingleItem, SelectionStyleEnum.MultipleItems), all cells of the item are highlighted using the defined selection outline style (SftTree.SelectionOutlineStyle).
If cell selection is used (SelectionStyleEnum.SingleCell, SelectionStyleEnum.MultipleCells, SelectionStyleEnum.BlockOfCells), the selected cell is highlighted using the defined selection outline style (SftTree.SelectionOutlineStyle).
CellsThe entire cell or item (excluding the hierarchy area) is highlighted.
If the SftTree.SelectionStyle property defines item selection (SelectionStyleEnum.SingleItem, SelectionStyleEnum.MultipleItems), all cells of the item are highlighted using the defined selection outline style (SftTree.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 (SftTree.SelectionOutlineStyle). If the cell is part of the hierarchy column (ColumnClass.ShowHierarchy), the hierarchy area of the cell is not highlighted.
FirstCellThe 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.
HierarchyCellThe entire cell in the hierarchy column, excluding the hierarchy area, is highlighted.
HierarchyPartsOnlyLooseThe 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 DimensionsClass.TightOutlineGap.Width)
HierarchyPartsOnlyTightThe 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 DimensionsClass.TightOutlineGap).

Comments

Defines the appearance of selected (or highlighted) cells and items.

See Also | Classes | SftTree/NET 2.0