Version

SkewAngleXEffectStops Property

Returns a collection of SkewAngleXEffectStop objects that define the stops to be used when when setting the SkewAngleX angle of items along the ItemPath .
Syntax
'Declaration
 
Public Property SkewAngleXEffectStops As SkewAngleXEffectStopCollection
public SkewAngleXEffectStopCollection SkewAngleXEffectStops {get; set;}
Remarks

Note: the UseSkewing property must be set to true for these SkewAngleXEffectStops to be applied.

The way in which the scaling effect stops are applied to each item is determined by the item's location in the display area of the XamCarouselPanel and the setting of the SkewAngleXEffectStopDirection property.

Example
In the following example, the ability to control the horizontal skew has been used to ensure that items along the edge of the triagular path are skewed along the edge of the path. The skewing is enabled by setting the UseSkewing to true and then providing SkewAngleXEffectStop values for the SkewAngleXEffectStops property. Since the SkewAngleXEffectStops is set to UseItemPath, the Offsets are based upon the position of the items along the path. As such, an Offset of 0.5 is half way along the path provided.
<igWindows:XamCarouselPanel>
    
<igWindows:XamCarouselPanel.ViewSettings>
        
<igWindows:CarouselViewSettings 
            
UseSkewing="True"
            
SkewAngleXEffectStopDirection="UseItemPath"
            
ItemPathRenderBrush="#77000000">

            
<igWindows:CarouselViewSettings.ItemPath>
                
<Path Data="M 0,0 100,100, 200,0" />
            
</igWindows:CarouselViewSettings.ItemPath>

            
<igWindows:CarouselViewSettings.SkewAngleXEffectStops>
                
<igWindows:SkewAngleXEffectStop Offset="0.15" Value="20"/>
                
<igWindows:SkewAngleXEffectStop Offset="0.45" Value="20"/>
                
<igWindows:SkewAngleXEffectStop Offset="0.5" Value="0"/>
                
<igWindows:SkewAngleXEffectStop Offset="0.55" Value="-20"/>
                
<igWindows:SkewAngleXEffectStop Offset="0.85" Value="-20"/>
            
</igWindows:CarouselViewSettings.SkewAngleXEffectStops>
        
</igWindows:CarouselViewSettings>
    
</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