バージョン

ShouldScrollItemsIntoInitialPosition プロパティ

XamCarouselPanel が最初に読み込みされる時、項目が開始位置にアニメートされるかどうかを返すか設定します。デフォルトはTrueです。
シンタックス
'宣言
 
Public Property ShouldScrollItemsIntoInitialPosition As Boolean
public bool ShouldScrollItemsIntoInitialPosition {get; set;}
使用例
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>
参照