Version

ItemsPerPageResolved Property

Returns the lesser of the total number of items in the list and the ItemsPerPage. This is the number used by the XamCarouselPanel to determine the actual number of items per page. (read only)
Syntax
'Declaration
 
Public ReadOnly Property ItemsPerPageResolved As Integer
public int ItemsPerPageResolved {get;}
Remarks

If the total number of items in the list is less than ItemsPerPage, the XamCarouselPanel will spread out those items evenly along the ItemPath so they take up all the space between the prefix and suffix areas. For example, if the number of items per page is set to 10 and the total number of items in the list is 20, this property will return 10 and the 10 displayed items will be arranged along the ItemPath between the prefix and suffix areas using even spacing. If the number of items in the list is 5, this property will return 5 and those 5 items will be evenly arranged along the ItemPath between the prefix and suffix areas, but with increased spacing so the entire areas is used. This prevents items from being 'bunched up' at the beginning of the path.

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