Intersoft ClientUI Documentation
DisplayLoader Property
See Also  Send Feedback
Intersoft.Client.UI.Controls Namespace > ImageLoader Class : DisplayLoader Property






Gets or sets a value that determines whether the download progress / loader should be shown.

Syntax

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

Remarks

To hide the progress bar, you set the DisplayLoader property to False. This might be useful for certain scenarios where using default image alone is more appealing.

XAML Copy Code
<Intersoft:ImageLoader Height="100" Width="100" ImageSource="www.mywebsite.com/photo1.jpg" UseDefaultImage="True" DefaultImageSource="LoaderImage.png" DisplayLoader="False"/>

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.