Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

CalcSizeEnum Enumeration

Defines the method used to calculate the part's size.

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

Syntax

public enum CalcSizeEnum;
Public Enum CalcSizeEnum

Values

NameDescription
ExactCalculate the exact size of the part. If possible, the maximum area (r) of the CalcSize method should be honored. This is used by a part to call its own GenericPartClass.CalcSize method.
BestFitCalculate the exact size of the part. If possible, the maximum area (r) of the CalcSize method should be honored. This is used by the internal GenericPartClass.CalcSize method.
LargestSizeCalculate the exact size of the part. If possible, the maximum area (r) of the CalcSize method should be honored. This is used by the internal PartsRenderingClass.StrategyRoutine method.
LargestSize2Calculate the exact size of the part. If possible, the maximum area (r) of the CalcSize method should be honored. This is only used to determine the height of the first part in a cell's parts collection (Parts).

Comments

Defines the method used to calculate the part's size.

See Also | Classes | SftTree/NET 2.0