バージョン

ItemPathHorizontalAlignment プロパティ

項目パス領域内の ItemPathSystem.Windows.HorizontalAlignment を返すか設定します。デフォルトは .Center です。
シンタックス
'宣言
 
Public Property ItemPathHorizontalAlignment As HorizontalAlignment
public HorizontalAlignment ItemPathHorizontalAlignment {get; set;}
解説

項目パス領域は、XamCarouselPanel の境界に ItemPathPadding を適用することで定義される XamCarouselPanel 内の領域です。

使用例
The following sample demonstrates how the ItemPathHorizontalAlignment can be used to align the path horizontally within the XamCarouselPanel. In this example, the ItemPathStretch is set to Uniform so that the aspect ratio of the Path is maintained. When the path width is less than the available area, the path will be aligned to the Left edge of the panel.
<igWindows:XamCarouselPanel>
    
<igWindows:XamCarouselPanel.ViewSettings>

        
<igWindows:CarouselViewSettings 
            
ItemPathStretch="Uniform" 
            
ItemPathHorizontalAlignment="Left" 
            
ItemPathRenderBrush="#77000000">

            
<igWindows:CarouselViewSettings.ItemPath>
                
<Path Data="M0,0 L0,400 L200,400 L200,0" />
            
</igWindows:CarouselViewSettings.ItemPath>

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