Intersoft ClientUI Documentation
IsLoadOnDemand Property (UXBreadCrumb)



Gets or sets the value indicating whether is load on demand is enabled for the UXBreadCrumb control.
Syntax
Public Property IsLoadOnDemand As Boolean
Dim instance As UXBreadCrumb
Dim value As Boolean
 
instance.IsLoadOnDemand = value
 
value = instance.IsLoadOnDemand
public bool IsLoadOnDemand {get; set;}
public:
property bool IsLoadOnDemand {
   bool get();
   void set (    bool value);
}
Remarks

In addition to the basic features, UXBreadCrumb also offers advanced features such as loading child nodes on demand, while still maintaining MVVM development pattern. 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 bind the ExpandedItem and ProcessedItem to the view model, with Two-Way as the BindingMode.

When IsLoadOnDemand is enabled, you will have to provide custom implementations in the view model. If an item drop down is opened, the ExpandedItem property will be set, and that is where the custom implementations should take place. Once the ExpandedItem is set, you must provide the result in the ProcessedItem which is used to notify the UXBreadCrumb control.

One thing to note that when an item drop down is opened, user may hover to other items in a rapid manner. You will have to cancel the previous requests and only process the last request. See How-to: Enable Load on Demand for UXBreadCrumb to learn more.

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

UXBreadCrumb Class
UXBreadCrumb Members

Send Feedback