LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AnimationBackground Property
See Also 
Leadtools Namespace > RasterImage Class : AnimationBackground Property



Gets or sets a value indicating the animation background color for the current frame. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Property AnimationBackground As RasterColor
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim value As RasterColor
 
instance.AnimationBackground = value
 
value = instance.AnimationBackground
C# 
public RasterColor AnimationBackground {get; set;}
C++/CLI 
public:
property RasterColor AnimationBackground {
   RasterColor get();
   void set (    RasterColor value);
}

Property Value

A RasterColor structure that indicate the animation background color for the current frame.

Example

For an example, refer to AnimationGlobalLoop

Remarks

This is the background color used for the current frame. To get the global background color for the whole animation see AnimationGlobalBackground.

When the value of this property is changed, the RasterImage.Changed event will fire with RasterImageChangedFlags set to RasterImageChangedFlags.AnimationProperties.

For more information, refer to Implementing Animation.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also