44 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			44 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
| 
								 | 
							
								<UserControl x:Class="DM_Weight.Components.pagination.Pagination"
							 | 
						||
| 
								 | 
							
								             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
							 | 
						||
| 
								 | 
							
								             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
							 | 
						||
| 
								 | 
							
								             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
							 | 
						||
| 
								 | 
							
								             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
							 | 
						||
| 
								 | 
							
								             xmlns:local="clr-namespace:DM_Weight.Components.pagination"
							 | 
						||
| 
								 | 
							
								             xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes">
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    <Grid>
							 | 
						||
| 
								 | 
							
								        <StackPanel Margin="0 6 20 6" HorizontalAlignment="Right" Orientation="Horizontal">
							 | 
						||
| 
								 | 
							
								            <TextBlock x:Name="InfoBlock" Padding="0 0 6 0" VerticalAlignment="Center" />
							 | 
						||
| 
								 | 
							
								            <Button
							 | 
						||
| 
								 | 
							
								                ToolTip="首页"
							 | 
						||
| 
								 | 
							
								                Style="{StaticResource MaterialDesignIconForegroundButton}"
							 | 
						||
| 
								 | 
							
								                Command="{x:Static local:Pagination.FirstCommand}"
							 | 
						||
| 
								 | 
							
								                Name="First"
							 | 
						||
| 
								 | 
							
								                Content="{materialDesign:PackIcon PageFirst}" />
							 | 
						||
| 
								 | 
							
								            <Button
							 | 
						||
| 
								 | 
							
								                ToolTip="上一页"
							 | 
						||
| 
								 | 
							
								                Style="{StaticResource MaterialDesignIconForegroundButton}"
							 | 
						||
| 
								 | 
							
								                Command="{x:Static local:Pagination.PrevCommand}"
							 | 
						||
| 
								 | 
							
								                Name="Prve"
							 | 
						||
| 
								 | 
							
								                Content="{materialDesign:PackIcon ChevronLeft}"/>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            <TextBlock x:Name="CurrentPageText" Padding="6 0 6 0" VerticalAlignment="Center" />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            <Button
							 | 
						||
| 
								 | 
							
								                ToolTip="下一页"
							 | 
						||
| 
								 | 
							
								                Style="{StaticResource MaterialDesignIconForegroundButton}"
							 | 
						||
| 
								 | 
							
								                Command="{x:Static local:Pagination.NextCommand}"
							 | 
						||
| 
								 | 
							
								                Name="Next"
							 | 
						||
| 
								 | 
							
								                Content="{materialDesign:PackIcon ChevronRight}"/>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            <Button
							 | 
						||
| 
								 | 
							
								                ToolTip="末页"
							 | 
						||
| 
								 | 
							
								                Style="{StaticResource MaterialDesignIconForegroundButton}"
							 | 
						||
| 
								 | 
							
								                Command="{x:Static local:Pagination.EndCommand}"
							 | 
						||
| 
								 | 
							
								                Name="End"
							 | 
						||
| 
								 | 
							
								                Content="{materialDesign:PackIcon PageLast}" />
							 | 
						||
| 
								 | 
							
								        </StackPanel>
							 | 
						||
| 
								 | 
							
								    </Grid>
							 | 
						||
| 
								 | 
							
								</UserControl>
							 |