Version

CarouselPanelNavigator Class

Control that provides a UI for scrolling items in a XamCarouselPanel.
Syntax
'Declaration
 
Public Class CarouselPanelNavigator 
   Inherits System.Windows.Controls.Control
public class CarouselPanelNavigator : System.Windows.Controls.Control 
Remarks

The CarouselPanelNavigator displays buttons that execute XamCarouselPanelCommands when clicked, in order to scroll items. If you want to provide your own UI for scrollig items, you can hide the CarouselPanelNavigator by setting the CarouselViewSettings' CarouselViewSettings.IsNavigatorVisible property to hidden and then creating a UI that executes the same scrolling commands used by the navigator.

The CarouselViewSettings object exposes a CarouselViewSettings.CarouselPanelNavigatorStyle property that can be used to style the control. Alternatively, you can create a style that targets the CarouselPanelNavigator and place it in a resource dictionary somewhere in the ancestor chain of the control.

Refer to the Carousel Architecture Overview topic in the Developer's Guide for an explanation of how Carousel presentation works.

Note: The CarouselViewSettings object is available via the XamCarouselPanel's XamCarouselPanel.ViewSettings and XamCarouselListBox's XamCarouselListBox.ViewSettings properties.

Note: An instance of this class is automatically created by the XamCarouselPanel when needed. You do not ordinarily need to create an instance of this class directly.

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