Intersoft ClientUI Documentation
EnableLoadOnDemand Property
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXFlow Namespace > UXFlow Class : EnableLoadOnDemand Property






Gets or sets a value indicating whether load on demand mode will be used.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property EnableLoadOnDemand As Boolean
Visual Basic (Usage)Copy Code
Dim instance As UXFlow
Dim value As Boolean
 
instance.EnableLoadOnDemand = value
 
value = instance.EnableLoadOnDemand
C# 
[CategoryAttribute("Common Properties")]
public bool EnableLoadOnDemand {get; set;}
Delphi 
public read-write property EnableLoadOnDemand: Boolean; 
JScript 
CategoryAttribute("Common Properties")
public function get,set EnableLoadOnDemand : boolean
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property bool get_EnableLoadOnDemand();
public: __property void set_EnableLoadOnDemand( 
   bool value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property bool EnableLoadOnDemand {
   bool get();
   void set (    bool value);
}

Remarks

UXFlow comes with an innovative technology called VirtualFlow™. With this mode, UXFlow does not create the elements for all items. Instead, it creates only a certain number of elements, which is determined by the available space or by the MaximumPreview property.

To enable VirtualFlow mode, you set the EnableLoadOnDemand property to True.

VirtualFlow™ is primarily useful in advanced scenarios or enterprise web applications that require high scalability. For instance, an enterprise web application that displays video-based knowledge base could get the total number of items growing significantly as the business grows.

XAML Copy Code
<Intersoft:UXFlow x:Name="UXFlow1" Width="700" Height="300" EnableLoadOnDemand="True">
    <Intersoft:UXFlowItem ImageSource="le-meurice.jpg" Title="Hôtel Le Meurice" SubTitle="Paris, opposite Tuileries Garden."/>
    <Intersoft:UXFlowItem ImageSource="altira-macau.jpg" Title="Altira Macau" SubTitle="Taipa Island, Macau."/>
    
    ...
</Intersoft:UXFlow>

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.