Back to Devexpress

TableViewCommands.BestFitColumn Property

wpf-devexpress-dot-xpf-dot-grid-dot-tableviewcommands-109db507.md

latest1.6 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public ICommand BestFitColumn { get; }
vb
Public ReadOnly Property BestFitColumn As ICommand

Property Value

TypeDescription
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

TableViewCommands Class

TableViewCommands Members

DevExpress.Xpf.Grid Namespace