C# |
public TreeListBestFitNodes BestFitNodes { get; set; }
|
VB |
Public Property BestFitNodes As TreeListBestFitNodes
|
Property value
Type: TreeListBestFitNodes
A DevExpress.XtraTreeList.TreeListBestFitNodes enumeration value that specifies which nodes take part in calculations when applying best fit to columns.
The default is TreeListBestFitNodes.Default.
The DevExpress.XtraTreeList.TreeListBestFitNodes enumeration provides the following values which specify which nodes take part in calculations when applying best fit to columns:
- Default - equivalent to All.
- All - all nodes.
- Visible - only nodes not hidden within collapsed groups (this mode is equivalent to enabling the TreeList.BestFitVisibleOnly setting, which is now obsolete).
- Display - only nodes that are currently displayed on screen.
-
Custom - this mode is automatically enabled if you set the BestFitMaxNodeCount property to any custom value.
To use All, Visible or Display mode, reset the BestFitMaxNodeCount property to its default value.