TreeListOptionsView.BestFitNodes Property
In This Article
Gets or sets a value specifying which nodes take part in calculations when applying best fit to columns.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
[DefaultValue(TreeListBestFitNodes.Default)]
[XtraSerializableProperty]
public TreeListBestFitNodes BestFitNodes { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
DevExpress. |
Default | A DevExpress. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Best |
---|---|
Tree |
|
#Remarks
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.
- Display - only nodes that are currently displayed on screen.
- Custom - this mode is automatically enabled if you set the TreeListOptionsView.BestFitMaxNodeCount property to any custom value. To use All, Visible or Display mode, reset the TreeListOptionsView.BestFitMaxNodeCount property to its default value.
See Also