HandyOrg/HandyControl

hc: Carousel Specified argument was out of the range of valid values. Arg_ParamName_Name”

810906591 opened this issue · 0 comments

Describe the bug

hc: The Carousel ItemsSource originally had multiple data sets, and the data whose set index is not 0 is displayed. When the ItemsSource collection changes, the index exceeds is reported

Steps to reproduce the bug

<hc:SimplePanel Grid.Row="1">
<hc:Carousel ItemsSource="{Binding ComponentItems, Converter={StaticResource ComponentItemRemoveNullConverter}}"
AllowDrop="True" Margin="3" IsCenter="True" AutoRun="False"
MinHeight="400" MaxWidth="600" VerticalAlignment="Center" HorizontalAlignment="Center" PageIndex="0">
hc:Carousel.ItemTemplate

<hc:SimplePanel Width="600">


</hc:SimplePanel>

</hc:Carousel.ItemTemplate>
</hc:Carousel>

</hc:SimplePanel>

Expected behavior

No response

Screenshots

No response

NuGet package version

None

IDE

No response

Framework type

No response

Windows version

No response

Additional context

No response