BackStyle Property (Animation Control)

       

Returns or sets a value that determines whether the Animation control draws the animation on a transparent background or on the background color specified in the animation clip. Read-only at run time.

Syntax

object.BackStyle [= value]

The BackStyle property syntax has these parts:

Part Description
object An object expression that evaluates to an Animation control.
value A numeric expression specifying transparency, as described in Settings.

Settings

The settings for value are:

Setting Description
0 (Default) Transparent—background color of the control is visible.
1 Opaque— the background color specified in the animation clip fills the control and obscures any color behind it.

Remarks

You can use the BackStyle property to run an animation that shows the background color of the Animation control rather than the background color of the animation itself.

Data Type

Integer (Boolean)