markus / KCOM / Controls / DataNavigation.xaml @ df2e7646
이력 | 보기 | 이력해설 | 다운로드 (2.94 KB)
1 |
<UserControl x:Name="userControl" x:Class="KCOM.Controls.DataNavigation" |
---|---|
2 |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
3 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
4 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
5 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
6 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
7 |
xmlns:local="clr-namespace:KCOM.Controls" |
8 |
mc:Ignorable="d"> |
9 |
<UserControl.Resources>
|
10 |
<Style TargetType="Path" x:Key="PathStyle"> |
11 |
<Setter Property="Width" Value="12"/> |
12 |
<Setter Property="Height" Value="12"/> |
13 |
<Setter Property="Fill" Value="#FF0A93E2" /> |
14 |
<Setter Property="Stretch" Value="Fill" /> |
15 |
<Setter Property="HorizontalAlignment" Value="Center" /> |
16 |
<Setter Property="VerticalAlignment" Value="Center" /> |
17 |
</Style>
|
18 |
<Style TargetType="telerik:RadPathButton" x:Key="RadPathButtonStyle"> |
19 |
<Setter Property="Margin" Value="2"/> |
20 |
<Setter Property="CornerRadius" Value="2"/> |
21 |
<Setter Property="BorderBrush" Value="#FFD4CFCF"/> |
22 |
<Setter Property="Width" Value="30"/> |
23 |
<Setter Property="PathStyle" Value="{StaticResource PathStyle}"/> |
24 |
<Setter Property="telerik:StyleManager.Theme" Value="Office2016"/> |
25 |
</Style>
|
26 |
</UserControl.Resources>
|
27 |
<Grid>
|
28 |
<StackPanel Orientation="Horizontal"> |
29 |
<telerik:RadPathButton Style="{StaticResource RadPathButtonStyle}" x:Name="btFirst" PathGeometry="M12,0 L12,12 3.5,6 z M0,0 L2,0 2,12 0,12 z"/> |
30 |
<telerik:RadPathButton Style="{StaticResource RadPathButtonStyle}" x:Name="btPrevious" PathGeometry="M3.5,6 L12,12 L12,0 L3.5,6 Z"/> |
31 |
<Grid>
|
32 |
<Grid.ColumnDefinitions>
|
33 |
<ColumnDefinition/> |
34 |
<ColumnDefinition Width="Auto"/> |
35 |
<ColumnDefinition/> |
36 |
</Grid.ColumnDefinitions>
|
37 |
<TextBox Text="{Binding DisplayCurrentIndex, ElementName=userControl,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="60" TextAlignment="Right" FontWeight="Bold" FontSize="18" VerticalAlignment="Center"/> |
38 |
<TextBlock Text=" / " Grid.Column="1" TextAlignment="Center" FontWeight="Bold" FontSize="18" VerticalAlignment="Center"/> |
39 |
<TextBlock Text="{Binding TotalCount, ElementName=userControl}" Width="60" Grid.Column="2" TextAlignment="Left" FontWeight="Bold" FontSize="18" VerticalAlignment="Center"/> |
40 |
</Grid>
|
41 |
<telerik:RadPathButton Style="{StaticResource RadPathButtonStyle}" x:Name="btNext" PathGeometry="M0,0 L0,14 L11,7 L0,0 Z" /> |
42 |
<telerik:RadPathButton Style="{StaticResource RadPathButtonStyle}" x:Name="btLast" PathGeometry="M10,0 L12,0 12,12 10,12 z M0,0 L9.4285717,6 0,12 z"/> |
43 |
</StackPanel>
|
44 |
</Grid>
|
45 |
</UserControl>
|