Version

PathItemTransitionStyle Enumeration

Determines the effects applied to items as they transition through the prefix and suffix areas of a XamCarouselPanel's CarouselViewSettings.ItemPath.
Syntax
'Declaration
 
Public Enum PathItemTransitionStyle 
   Inherits System.Enum
public enum PathItemTransitionStyle : System.Enum 
Members
MemberDescription
AdjustOpacityThe opacity of items are adjusted from transparent to Opaque as the items pass through the prefix and suffix areas of the XamCarouselPanel's CarouselViewSettings.ItemPath
AdjustSizeThe size of items are adjusted from full size to zero as the items pass through the prefix and suffix areas of the XamCarouselPanel's CarouselViewSettings.ItemPath
AdjustSizeAndOpacityBoth the size and opacity of items are adjusted as the items pass through the prefix and suffix areas of the XamCarouselPanel's CarouselViewSettings.ItemPath
Remarks

The prefix area is located at the beginning of the path and the suffix area is located at the end of the path. These are the areas within which items are transitioned into and out of view during scrolling. Items appear in the prefix or suffix area only while they are transitioning (scrolling) into or out of view. When they are 'at rest', items appear in the area between the prefix and suffix areas.

Example
In this example, the ItemTransitionStyle is set to AdjustSize, instead of the default AdjustOpacity, so that items will be resized as they are scrolled out of view instead of transitioning their opacity.
<igWindows:XamCarouselPanel>
    
<igWindows:XamCarouselPanel.ViewSettings>

        
<igWindows:CarouselViewSettings ItemTransitionStyle="AdjustSize"/>

    
</igWindows:XamCarouselPanel.ViewSettings>

    
<Ellipse Width="50" Height="50" Stroke="Black" Fill="Red" />
    
<Ellipse Width="100" Height="50" Stroke="Black" Fill="Green" />
    
<Polygon Points="0, 25, 25, 0, 75, 0, 100, 25, 75, 50, 25, 50" Stroke="Black" Fill="Yellow" />
    
<Rectangle Width="100" Height="50" Stroke="Black" Fill="Purple" />
    
<Polyline Points="0, 25, 25, 0, 50, 25, 25, 50, 0, 25" Stroke="SlateGray" StrokeThickness="2" Fill="Blue"/>
    
<Path Stroke="Black" Fill="Gray" Data="M 10,10 C 10,100 100,-100 100,10" />
</igWindows:XamCarouselPanel>
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also