SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Calculates the best dimensions for the current cell.
Class: CellBaseClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET
public virtual Size BestDimensions( Graphics g, int proposedWidth );
Public Overridable Function BestDimensions( ByVal g As Graphics, ByVal proposedWidth As Integer ) As Size
g
Defines the drawing surface or null/Nothing if unavailable.
proposedWidth
The cell's maximum allowable width or -1 (see below).
The dimensions of the cell.
Calculates the best dimensions for the current cell.
BestDimensions calculates the cell's dimensions based on the available width (proposedWidth). If the width is limited, the cell may be able to grow in height, for example by wrapping text around. item, including all the cell's subordinate cells are used to determine the best dimensions.
as the available width (plus the additional width made available by subordinate cells).
See Also CellBaseClass Class | Classes | SftTree/NET 2.0