Path Effects

Glossary Item Box

Infragistics(R) NetAdvantage(R) for WPF

Path Effects

Using the properties in the CarouselViewSettings class, you can create special visual effects for your carousel items when they reach any position along the Path that you can imagine. These Path Effects result in simulating two-dimensional layouts that appear to be three-dimensional. The techniques are really simple to learn, and have been practiced by art students since the time of the Renaissance. By scaling items to be smaller as they become farther away, and decreasing an item's opacity as it reaches the proverbial vanishing point on the horizon, you can create immersive experiences for end users that enhance their impression of your application.

When you look at the many "Effects"-oriented properties in the CarouselViewSettings class, you will see that for every Path Effect supported, there are several recurring properties. Understanding these principles related to applying effects to your Path will lead you to use all of the Path Effects with greater success. For more information on the key role that the CarouselViewSettings class plays in the Carousel View, see Architecture.

The common principles you need to keep in mind are:

Now that you understand the basic principles that apply to all Path Effects, you should take some time becoming more acquainted with the Path Effects supported by xamCarouselPanel and the controls that use it to display information in Carousel View.

The following is a list of the supported Path Effects:

In addition to these Path Effects, which you can add to the appropriate Path Effect's Stops collection on the ViewSettings property, there is an additional mechanism for applying Scaling and Opacity Effects as a carousel item moves onto or off of the Path. The PathItemTransitionStyle enumeration lists the Path Effects available to you. They have been specialized for the case of transitioning an item to/from invisibility as it enters or leaves the "horizon" at the ends of the Path. This transition area is defined by the Path's ItemPathPrefixPercent and ItemPathSuffixPercent properties. Assign the appropriate transition style enumeration value to the ItemTransitionStyle property on ViewSettings to take advantage of this special feature.


E-mail your feedback on this topic.

Opinion about our help? Take our survey.

Copyright © 2003-2007 Infragistics, Inc. All rights reserved.

Build Version: 7.1.20071.1320