Back to Devexpress

TreeListViewCommands.BestFitColumns Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistviewcommands-894d94ee.md

latest1.6 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public ICommand BestFitColumns { get; }
vb
Public ReadOnly Property BestFitColumns 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: TreeListView.BestFitColumns.

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

See Also

TreeListViewCommands Class

TreeListViewCommands Members

DevExpress.Xpf.Grid Namespace