Gets the optimal width of Cells to display them without the loss of information.

Namespace: Dapfor.Net.Ui
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

Syntax

C#
public int MeasureOptimalCellWidth(
	bool visibleRows
)
Visual Basic
Public Function MeasureOptimalCellWidth ( 
	visibleRows As Boolean
) As Integer
Visual C++
public:
int MeasureOptimalCellWidth(
	bool visibleRows
)
F#
member MeasureOptimalCellWidth : 
        visibleRows : bool -> int 

Parameters

visibleRows
Type: System..::..Boolean
if set to true, only Cells in client area are taken into account.

Return Value

Type: Int32
The optimal width of cells

See Also