-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Describe the bug
升级到3.1后,当查询不到数据,即页数为0时,报绑定错误,就像这样:

之前用的2.5.0.2版本则不会有这个错误
To Reproduce
我的代码如下:
<hc:Pagination Grid.Row="2" Margin="5" MaxPageCount="{Binding TotalPageCount}" PageIndex="{Binding PageNo,Mode=TwoWay}" DataCountPerPage="{Binding PageSize}">
<hc:Interaction.Triggers>
<hc:EventTrigger EventName="PageUpdated">
<hc:EventToCommand Command="{Binding ChangePage}" PassEventArgsToCommand="True" />
</hc:EventTrigger>
</hc:Interaction.Triggers>
</hc:Pagination>当TotalPageCount=0时就报这个错
Environment (please complete the following information):
- .net: 4.6.1
- IDE vs2019 16.9.3
- Version 3.1
Metadata
Metadata
Assignees
Labels
No labels