Skip to main content
A newer version of this page is available. .

TableViewCommands.BestFitColumns Property

Adjusts the width of columns so that columns fit their contents in an optimal way.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v18.2.dll

Declaration

public ICommand BestFitColumns { get; }

Property Value

Type Description
ICommand

A RoutedCommand object that defines a command implementing the ICommand, and is routed through the element tree.

Remarks

Corresponding Method: TableView.BestFitColumns.

To learn more on using commands, refer to the Commanding Overview MSDN article.

See Also