Adjusts all Columns to their optimal width.

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

Syntax

C#
public void AdjustColumns(
	bool withCaptions,
	bool visibleRows
)
Visual Basic
Public Sub AdjustColumns ( 
	withCaptions As Boolean,
	visibleRows As Boolean
)
Visual C++
public:
void AdjustColumns(
	bool withCaptions, 
	bool visibleRows
)
F#
member AdjustColumns : 
        withCaptions : bool * 
        visibleRows : bool -> unit 

Parameters

withCaptions
Type: System..::..Boolean
if set to true, adjusts to the best column caption and cell width. Otherwise it adjusts only to the best cell with.
visibleRows
Type: System..::..Boolean
if set to true, it adjusts only visible rows.

See Also