fixed a bug of pagination

This commit is contained in:
NaBian committed 2018-11-12 19:47:12 +08:00
1 parent 042c6bd4e4
commit 72bb3d1b48
1 file changed
+1
+1
View File
@@ -353,6 +353,7 @@ namespace HandyControl.Controls
private void ToggleButton_OnChecked(object sender, RoutedEventArgs e)
{
if (!(e.OriginalSource is RadioButton button)) return;
if (button.IsChecked == false) return;
PageIndex = int.Parse(button.Tag.ToString());
}