Intersoft ClientUI Documentation
ProcessedItem Property
See Also  Send Feedback
Intersoft.Client.UI.Data Namespace > UXTreeList Class : ProcessedItem Property






Gets or sets a value that indicates the item that user process when load on demand is active.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property ProcessedItem As Object
Visual Basic (Usage)Copy Code
Dim instance As UXTreeList
Dim value As Object
 
instance.ProcessedItem = value
 
value = instance.ProcessedItem
C# 
[CategoryAttribute("Common Properties")]
public object ProcessedItem {get; set;}
Delphi 
public read-write property ProcessedItem: TObject; 
JScript 
CategoryAttribute("Common Properties")
public function get,set ProcessedItem : Object
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property Object* get_ProcessedItem();
public: __property void set_ProcessedItem( 
   Object* value
);
C++/CLI 
[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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.