Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / CarouselPanel Class / KeepItemsOrder Property


In This Topic
    KeepItemsOrder Property
    In This Topic
    Gets or sets if the order used to display the items in the CarouselPanel correspond to their order in the ItemsSource.
    Syntax
    'Declaration
     
    
    Public Property KeepItemsOrder As Boolean
    'Usage
     
    
    Dim instance As CarouselPanel
    Dim value As Boolean
     
    instance.KeepItemsOrder = value
     
    value = instance.KeepItemsOrder
    public bool KeepItemsOrder {get; set;}
    Remarks

    The default is false.

    However, it is useful to set this property to true when the ItemsSource contains only a few items & that it is not neccesary for the user to scroll through the items in the CarouselPanel.

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, 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