为 Pagination 控件增加 CurrentPageChanged 事件

为 Pagination 控件增加 Command 属性
为 Pagination 控件增加 Command 属性的使用 Demo
This commit is contained in:
Soar360
2024-03-23 14:46:32 +08:00
parent fa33477f85
commit 74ad5f4111
3 changed files with 86 additions and 20 deletions

View File

@@ -24,6 +24,8 @@
PageSizeOptions="10, 20, 50, 100"
ShowQuickJump="{Binding #quickJumperSelector.IsChecked}"
ShowPageSizeSelector="{Binding #pageSizeSelector.IsChecked}"
Command="{Binding LoadPageCommand}"
CommandParameter="{Binding $self.CurrentPage}"
TotalCount="600" />
</StackPanel>
</UserControl>