|
|
|
|
TightOutlineGap Property, DimensionsClass Class |
Defines the gap between parts and the outline when SelectionHighlightStyle is defined as SelectionHighlightStyleEnum.HierarchyPartsOnlyTight or SelectionHighlightStyleEnum.HierarchyPartsOnlyLoose.
Syntax DimensionsClass Class (Softelvdm.SftTreeNET)
VB |
Public Property TightOutlineGap As Size |
C# |
public Size TightOutlineGap { get; set; } |
C++ |
public: property Size TightOutlineGap { |
Property Value
The gap between parts and the outline in pixels.
The default value is 2, 2.
Comments
The TightOutlineGap property defines the gap between parts and the outline when SelectionHighlightStyle is defined as SelectionHighlightStyleEnum.HierarchyPartsOnlyTight or SelectionHighlightStyleEnum.HierarchyPartsOnlyLoose.
When SelectionHighlightStyle is defined as SelectionHighlightStyleEnum.HierarchyPartsOnlyTight, 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).
When SelectionHighlightStyle is defined as SelectionHighlightStyleEnum.HierarchyPartsOnlyLoose, 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)