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






Gets or sets a value that determine whether transition animation should be used.

Syntax

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

Remarks

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"/>

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.