TransitionStyle property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax short TransitionStyle

Overview:  Refer to Using Special Effects When Painting.

Remarks

(Persistent property, available at design time) Determines whether a transitional effect is used when painting, and determines whether the transition is based on pattern properties or gradient color properties.

A transition effect, if implemented, occurs before an image is painted. The transition can paint a solid color, a pattern, or a gradient color. The list of possible effects is the same as when painting an image. The TransitionEffect property specifies the effect to use.

Value

Meaning

EFX_TRANSITION_NONE

No transition effect.

EFX_TRANSITION_GRADIENT

Use the gradient color for the transition. Refer to Gradients and Patterns for related properties.

EFX_TRANSITION_PATTERN

Use a solid color or pattern for the transition. Refer to Gradients and Patterns for related properties.

EFX_TRANSITION_MAX

Use a solid color or pattern for the transition. Refer to Gradients and Patterns for related properties.

See Also

Elements:  TransitionEffect property

Topics:  Raster Images: Implementing Special Effects