Skip to main content

TableViewCommands.BestFitColumn Property

Resizes the column to the minimum width required to display the column’s contents completely.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.1.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public ICommand BestFitColumn { 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.BestFitColumn.

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

See Also