Returns/sets the
System.Windows.VerticalAlignment of the
ItemPath within the item path area. The default is
System.Windows.VerticalAlignment.Center.
The following sample demonstrates how the ItemPathVerticalAlignment can be used to align the path 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 height is less than the available area, it will be aligned to the Bottom.
<igWindows:XamCarouselPanel>
<igWindows:XamCarouselPanel.ViewSettings>
<igWindows:CarouselViewSettings
ItemPathStretch="Uniform"
ItemPathVerticalAlignment="Bottom"
ItemPathRenderBrush="#77000000">
<igWindows:CarouselViewSettings.ItemPath>
<Path Data="M0,0 L0,200 L800,200 L800,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>
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