Version

ItemPathPrefixPercent Property

Returns/sets the size of the path prefix area expressed as a decimal percentage of the overall path size (the percentage must be in the range 0.0 to 0.4). The default is .15.
Syntax
'Declaration
 
Public Property ItemPathPrefixPercent As Double
public double ItemPathPrefixPercent {get; set;}
Remarks

The prefix area is located at the beginning of the path and is the area within which items are transitioned into and out of view during scrolling. Items appear in the prefix area only while they are transitioning 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 ItemPathPrefixPercent is set to 0 to prevent items from being scrolled out of view when scrolling forward. The ItemPathSuffixPercent is set to it's highest value - 0.4 - to cause items beyond that point to be scrolled out of view when scrollling backward.
<igWindows:XamCarouselPanel>
    
<igWindows:XamCarouselPanel.ViewSettings>

        
<igWindows:CarouselViewSettings 
            
ItemPathPrefixPercent="0"
            
ItemPathSuffixPercent="0.4"
            
ItemPathRenderBrush="#77000000" />

    
</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