Intersoft.Client.UI.Controls Namespace > ImageLoader Class : UseAnimation Property |
<CategoryAttribute("Common Properties")> Public Property UseAnimation As Boolean
Dim instance As ImageLoader Dim value As Boolean instance.UseAnimation = value value = instance.UseAnimation
[CategoryAttribute("Common Properties")] public bool UseAnimation {get; set;}
[CategoryAttribute("Common Properties")] public: property bool UseAnimation { bool get(); void set ( bool value); }
When an image is loaded, the built-in animation will fade out the progress bar along with the default image and fade in the actual image. This animation delivers a smooth user experience particularly when you load an image from external source. You can also disable this feature if necessary by setting the UseAnimation property to False.
XAML |
Copy Code
|
---|---|
<Intersoft:ImageLoader Height="100" Width="100" ImageSource="www.mywebsite.com/photo1.jpg" UseAnimation="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