Version

ShouldScrollItemsIntoInitialPosition Property

Returns/sets whether items should be animated into their start positions when the XamCarouselPanel is first loaded. The default is True.
Syntax
'Declaration
 
Public Property ShouldScrollItemsIntoInitialPosition As Boolean
public bool ShouldScrollItemsIntoInitialPosition {get; set;}
Example
In this example, the IsNavigatorVisible is set to false so that the item navigator is not displayed. This is useful in this situation since it is known that all the items can be in view at one time. Likewise, the ShouldScrollItemsIntoInitialPosition has been set to false so that the items are not scrolled into view when the panel is first displayed.
<igWindows:XamCarouselPanel>
    
<igWindows:XamCarouselPanel.ViewSettings>

        
<igWindows:CarouselViewSettings 
                
IsNavigatorVisible="False" 
                
ShouldScrollItemsIntoInitialPosition="False"/>

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