Intersoft.Client.UI.Controls Namespace > ImageLoader Class : DisplayLoader Property |
<CategoryAttribute("Common Properties")> Public Property DisplayLoader As Boolean
Dim instance As ImageLoader Dim value As Boolean instance.DisplayLoader = value value = instance.DisplayLoader
[CategoryAttribute("Common Properties")] public bool DisplayLoader {get; set;}
[CategoryAttribute("Common Properties")] public: property bool DisplayLoader { bool get(); void set ( bool value); }
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"/> |
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