Adjusts all columns to their optimal width.

Namespace: Dapfor.Wpf.Controls
Assembly: Dapfor.Wpf (in Dapfor.Wpf.dll) Version: 4.1.0.26317 (4.1.0.26317)

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