Version

ReserveSpaceForReflections Property

Returns/sets whether the XamCarouselPanel should reserve space for item reflections. The default is true.
Syntax
'Declaration
 
Public Property ReserveSpaceForReflections As Boolean
public bool ReserveSpaceForReflections {get; set;}
Remarks

If true, each CarouselPanelItem will be sized to twice the height specified by the ItemSize property to make room for the reflection.

Note: It is the responsibility of the Template within the CarouselPanelItem style to actually show the reflections in the additional space provided by this property. The default style for the CarouselPanelItem does just that.

Example
In the following example, the ReserveSpaceForReflections has been set to false to hide the reflections that are normally displayed below the carousel panel items. Since the items do not need to be as large, the ItemPathAutoPad will result in a smaller value since the items do not need to be as large and as a result the path will be large in size than when the shadows are used.
<igWindows:XamCarouselPanel>
    
<igWindows:XamCarouselPanel.ViewSettings>

        
<igWindows:CarouselViewSettings 
            
ReserveSpaceForReflections="False"
            
ItemPathRenderBrush="#77000000"/>

    
</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, 99, 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 0,0 C 0,99 99,-99 99,0" />
</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