Back to Devexpress

TreeListOptionsBehavior.ImmediateUpdateRowPosition Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsbehavior-6cc79642.md

latest2.7 KB
Original Source

TreeListOptionsBehavior.ImmediateUpdateRowPosition Property

Gets or sets whether the tree list automatically updates the row order and row visibility after a cell value is changed.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ImmediateUpdateRowPosition { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property ImmediateUpdateRowPosition As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if the tree list automatically updates the row order and row visibility after a cell value is changed; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ImmediateUpdateRowPosition
TreeList

.OptionsBehavior .ImmediateUpdateRowPosition

|

Remarks

The data in the tree list can be sorted or filtered. When a cell value changes, the row order or row visibility may no longer fit the current sort or filter settings. The tree list automatically re-orders rows after a cell value changes or hides the row if it does not fit the current filter.

Set the ImmediateUpdateRowPosition property to false to prevent the tree list from an automatic update. To update the row order and row visibility manually, call the TreeList.RefreshDataSource method.

See Also

RefreshDataSource()

TreeListOptionsBehavior Class

TreeListOptionsBehavior Members

DevExpress.XtraTreeList Namespace