Version

HeightInInfiniteContainers Property

Returns/sets a value that is used as the default for the height of the XamCarouselPanel, when it is placed in a container with infinite height available. The default is 300.
Syntax
'Declaration
 
Public Property HeightInInfiniteContainers As Double
public double HeightInInfiniteContainers {get; set;}
Remarks

Certain controls such as System.Windows.Controls.ScrollViewer and System.Windows.Controls.StackPanel make an infinite amount of height and width available to the controls they contain. If you place a control that implements a Carousel view (e.g., XamCarouselPanel or XamCarouselListBox) inside one of these controls you may want to set this property to constrain the height of the control to a convenient value. If you don't set this property a default height of 300 will be used.

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