TreeListOptionsView.BestFitUseErrorInfo Property

Gets or sets whether cell error icons are taken into account when calculating the "best width" for columns.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean BestFitUseErrorInfo { get; set; }
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Overridable Property BestFitUseErrorInfo As DefaultBoolean

Property Value

Type Default Description
DefaultBoolean

Default

A DefaultBoolean value that specifies whether cell error icons are taken into account when calculating the "best width" for columns.

Property Paths

You can access this nested property as listed below:

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

Remarks

The best fit feature (see TreeListColumn.BestFit) allows you to resize a column(s) to the minimum width required to display the column's contents completely.

Set the BestFitUseErrorInfo property to True to take into accout cell error icons (see TreeList.SetColumnError) when calculating the "best width" for columns.

NOTE

Cell error icons are never taken into accoutn in Fast best-fit mode.

See Also