TreeListOptionsView.BestFitMode Property

Gets or sets whether column best-fit resizing operations should prioritize precision or speed.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DefaultValue(TreeListBestFitMode.Default)]
[XtraSerializableProperty]
public TreeListBestFitMode BestFitMode { get; set; }
<DefaultValue(TreeListBestFitMode.Default)>
<XtraSerializableProperty>
Public Property BestFitMode As TreeListBestFitMode

Property Value

Type Default Description
TreeListBestFitMode

Default

A TreeListBestFitMode enumeration value, such as Full or Fast, that specifies whether column best-fit resizing operations should prioritize precision or speed.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to BestFitMode
WinForms Controls GanttControl
.OptionsView.BestFitMode
GanttControl
.OptionsView.BestFitMode
ResourcesTree
.OptionsView.BestFitMode
TreeList
.OptionsView.BestFitMode
Reporting XRDesignFieldList
.OptionsView.BestFitMode
XRDesignFieldList
.OptionsView.BestFitMode
XRDesignReportExplorer
.OptionsView.BestFitMode
XRDesignReportExplorer
.OptionsView.BestFitMode

Remarks

To ensure all grid columns have sufficient width to display their cell content, call the TreeList.BestFitColumns method. To do the same for one specific column, call the TreeListColumn.BestFit method instead. The BestFitMode property switches the mode in which these best-fit operations perform their calculations.

See Also