一度に
XamCarouselPanel で表示される項目の最大数を決定します。デフォルトは 5 です。
In this example, the ItemsPerPage is set to control the maximum number of items that should displayed at a time. The CarouselPanelNavigator can then be used to scroll the items.
<igWindows:XamCarouselPanel>
<igWindows:XamCarouselPanel.ViewSettings>
<igWindows:CarouselViewSettings
ItemsPerPage="3" />
</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>