TreeListView.CalcColumnBestFitWidth(ColumnBase) Method
In This Article
Returns the column's optimal (minimum) width required to display its contents completely.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
column | Column |
A Tree |
#Returns
Type | Description |
---|---|
Double | A Double value that specifies the column's optimal (minimum) width required to display its contents completely. |
#Remarks
If the column's BaseColumn.FixedWidth option is set to true, the CalcColumnBestFitWidth method returns the column width specified by its BaseColumn.Width property.
To learn more, see Best Fit in Columns Layout and Width.
See Also