fixed a bug of pagination
This commit is contained in:
1 parent
042c6bd4e4
commit
72bb3d1b48
1 file changed
+1
@@ -353,6 +353,7 @@ namespace HandyControl.Controls
|
|||||||
private void ToggleButton_OnChecked(object sender, RoutedEventArgs e)
|
private void ToggleButton_OnChecked(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (!(e.OriginalSource is RadioButton button)) return;
|
if (!(e.OriginalSource is RadioButton button)) return;
|
||||||
|
if (button.IsChecked == false) return;
|
||||||
PageIndex = int.Parse(button.Tag.ToString());
|
PageIndex = int.Parse(button.Tag.ToString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user