TreeListOptionsView.BestFitNodes Property
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
Declaration
[DefaultValue(TreeListBestFitNodes.Default)]
[XtraSerializableProperty]
public TreeListBestFitNodes BestFitNodes { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DevExpress.XtraTreeList.TreeListBestFitNodes | Default | A DevExpress.XtraTreeList.TreeListBestFitNodes enumeration value that specifies which nodes take part in calculations when applying best fit to columns. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to BestFitNodes |
---|---|
TreeList |
|
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 (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 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