Intersoft ClientUI Documentation
ProcessedItem Property (UXTreeList)



Gets or sets a value that indicates the item that user process when load on demand is active.
Syntax
<CategoryAttribute("Common Properties")>
Public Property ProcessedItem As Object
Dim instance As UXTreeList
Dim value As Object
 
instance.ProcessedItem = value
 
value = instance.ProcessedItem
[CategoryAttribute("Common Properties")]
public object ProcessedItem {get; set;}
[CategoryAttribute("Common Properties")]
public:
property Object^ ProcessedItem {
   Object^ get();
   void set (    Object^ value);
}
Remarks

Understanding Load-on-Demand Capability

UXTreeList supports load on demand scenario using MVVM pattern where only the root items are loaded initially. The children will be loaded on demand as users expanded the item for the first time. This feature is particularly useful to improve the overall performance when the assigned data source is relatively large.

To enable load-on-demand, you set the IsLoadOnDemand property of the control to true, and set the ExpandedItem and ProcessedItem properties to appropriate binding in your ViewModel.

The ExpandedItem property allows you to interact with the entity being expanded and write your own logic to retrieve the child items in the ViewModel. Once the child items become available, you assign the original entity to the ProcessedItem property to notify the control that the loading process is completed.

In this mode, a busy indicator will be automatically displayed in each expanded item during the loading progress.

To learn more how to enable load on demand in UXTreeList, see How-to: Enable Load On Demand Behavior In UXTreeList.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXTreeList Class
UXTreeList Members

Send Feedback