Version

WidthInInfiniteContainers Property

Returns/sets a value that is used as the default for the width of the XamCarouselPanel, when it is placed in a container with infinite width available. The default is 400.
Syntax
'Declaration
 
Public Property WidthInInfiniteContainers As Double
public double WidthInInfiniteContainers {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 width of the control to a convenient value. If you don't set this property a default width of 400 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