|
|
@ -1,9 +1,10 @@
|
|
|
|
<UserControl
|
|
|
|
<UserControl
|
|
|
|
x:Class="DownKyi.ui.CustomControl.CustomPager"
|
|
|
|
x:Class="DownKyi.CustomControl.CustomPager"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:local="clr-namespace:DownKyi.ui.CustomControl"
|
|
|
|
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
|
|
|
|
|
|
|
|
xmlns:local="clr-namespace:DownKyi.CustomControl"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
mc:Ignorable="d">
|
|
|
|
mc:Ignorable="d">
|
|
|
|
<UserControl.Resources>
|
|
|
|
<UserControl.Resources>
|
|
|
@ -49,7 +50,7 @@
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
</DrawingImage>
|
|
|
|
</DrawingImage>
|
|
|
|
|
|
|
|
|
|
|
|
<Style x:Key="pagerBorder" TargetType="Border">
|
|
|
|
<Style x:Key="pagerBorder" TargetType="{x:Type Border}">
|
|
|
|
<Setter Property="Background" Value="#FFFFFFFF" />
|
|
|
|
<Setter Property="Background" Value="#FFFFFFFF" />
|
|
|
|
<Setter Property="BorderBrush" Value="#FFD7DDE4" />
|
|
|
|
<Setter Property="BorderBrush" Value="#FFD7DDE4" />
|
|
|
|
<Setter Property="BorderThickness" Value="1" />
|
|
|
|
<Setter Property="BorderThickness" Value="1" />
|
|
|
@ -66,14 +67,48 @@
|
|
|
|
</Trigger>
|
|
|
|
</Trigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Style x:Key="pagerButton" TargetType="{x:Type Button}">
|
|
|
|
|
|
|
|
<Setter Property="Background" Value="#FFFFFFFF" />
|
|
|
|
|
|
|
|
<Setter Property="BorderBrush" Value="#FFD7DDE4" />
|
|
|
|
|
|
|
|
<Setter Property="BorderThickness" Value="1" />
|
|
|
|
|
|
|
|
<Setter Property="Width" Value="30" />
|
|
|
|
|
|
|
|
<Setter Property="Height" Value="30" />
|
|
|
|
|
|
|
|
<Setter Property="Cursor" Value="Hand" />
|
|
|
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
|
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
|
|
|
|
|
|
<Border
|
|
|
|
|
|
|
|
Background="{TemplateBinding Background}"
|
|
|
|
|
|
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
|
|
|
|
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
|
|
|
|
|
|
CornerRadius="4">
|
|
|
|
|
|
|
|
<ContentPresenter
|
|
|
|
|
|
|
|
Name="content"
|
|
|
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
|
|
|
VerticalAlignment="Center" />
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
|
|
|
</Setter>
|
|
|
|
|
|
|
|
<Style.Triggers>
|
|
|
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
|
|
|
|
|
|
<Setter Property="BorderBrush" Value="#FF00A1D6" />
|
|
|
|
|
|
|
|
</Trigger>
|
|
|
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="false">
|
|
|
|
|
|
|
|
<Setter Property="BorderBrush" Value="#FFD7DDE4" />
|
|
|
|
|
|
|
|
</Trigger>
|
|
|
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
</UserControl.Resources>
|
|
|
|
</UserControl.Resources>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal" Visibility="{Binding Visibility}">
|
|
|
|
<Border
|
|
|
|
<Button
|
|
|
|
Name="namePrevious"
|
|
|
|
x:Name="namePrevious"
|
|
|
|
Margin="0,0,8,0"
|
|
|
|
Margin="0,0,8,0"
|
|
|
|
MouseLeftButtonUp="Previous_MouseLeftButtonUp"
|
|
|
|
Command="{Binding PreviousCommand}"
|
|
|
|
Style="{StaticResource pagerBorder}">
|
|
|
|
Style="{StaticResource pagerButton}"
|
|
|
|
|
|
|
|
Visibility="{Binding PreviousVisibility}">
|
|
|
|
<Image
|
|
|
|
<Image
|
|
|
|
Width="16"
|
|
|
|
Width="16"
|
|
|
|
Height="16"
|
|
|
|
Height="16"
|
|
|
@ -83,27 +118,28 @@
|
|
|
|
<Style TargetType="Image">
|
|
|
|
<Style TargetType="Image">
|
|
|
|
<Style.Triggers>
|
|
|
|
<Style.Triggers>
|
|
|
|
<DataTrigger Binding="{Binding Path=IsMouseOver, ElementName=namePrevious}" Value="True">
|
|
|
|
<DataTrigger Binding="{Binding Path=IsMouseOver, ElementName=namePrevious}" Value="True">
|
|
|
|
<Setter Property="Source" Value="{DynamicResource ToLeftHoverDrawingImage}" />
|
|
|
|
<Setter Property="Source" Value="{StaticResource ToLeftHoverDrawingImage}" />
|
|
|
|
</DataTrigger>
|
|
|
|
</DataTrigger>
|
|
|
|
<DataTrigger Binding="{Binding Path=IsMouseOver, ElementName=namePrevious}" Value="False">
|
|
|
|
<DataTrigger Binding="{Binding Path=IsMouseOver, ElementName=namePrevious}" Value="False">
|
|
|
|
<Setter Property="Source" Value="{DynamicResource ToLeftDrawingImage}" />
|
|
|
|
<Setter Property="Source" Value="{StaticResource ToLeftDrawingImage}" />
|
|
|
|
</DataTrigger>
|
|
|
|
</DataTrigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
</Style>
|
|
|
|
</Image.Style>
|
|
|
|
</Image.Style>
|
|
|
|
</Image>
|
|
|
|
</Image>
|
|
|
|
</Border>
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
<Border
|
|
|
|
<Button
|
|
|
|
Name="nameFirst"
|
|
|
|
x:Name="nameFirst"
|
|
|
|
Margin="0,0,4,0"
|
|
|
|
Margin="0,0,4,0"
|
|
|
|
MouseLeftButtonUp="First_MouseLeftButtonUp"
|
|
|
|
Command="{Binding FirstCommand}"
|
|
|
|
Style="{StaticResource pagerBorder}">
|
|
|
|
Style="{StaticResource pagerButton}"
|
|
|
|
|
|
|
|
Visibility="{Binding FirstVisibility}">
|
|
|
|
<TextBlock
|
|
|
|
<TextBlock
|
|
|
|
Name="nameFirstText"
|
|
|
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
FontSize="14">
|
|
|
|
FontSize="14"
|
|
|
|
|
|
|
|
Text="{Binding First, Mode=TwoWay}">
|
|
|
|
<TextBlock.Style>
|
|
|
|
<TextBlock.Style>
|
|
|
|
<Style TargetType="TextBlock">
|
|
|
|
<Style TargetType="TextBlock">
|
|
|
|
<Style.Triggers>
|
|
|
|
<Style.Triggers>
|
|
|
@ -117,13 +153,13 @@
|
|
|
|
</Style>
|
|
|
|
</Style>
|
|
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock>
|
|
|
|
</TextBlock>
|
|
|
|
</Border>
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
<Border
|
|
|
|
<Border
|
|
|
|
Name="nameLeftJump"
|
|
|
|
|
|
|
|
Width="20"
|
|
|
|
Width="20"
|
|
|
|
Height="40"
|
|
|
|
Height="40"
|
|
|
|
Margin="0,0,4,0">
|
|
|
|
Margin="0,0,4,0"
|
|
|
|
|
|
|
|
Visibility="{Binding LeftJumpVisibility}">
|
|
|
|
<TextBlock
|
|
|
|
<TextBlock
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
@ -131,16 +167,17 @@
|
|
|
|
Text="•••" />
|
|
|
|
Text="•••" />
|
|
|
|
</Border>
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
<Border
|
|
|
|
<Button
|
|
|
|
Name="namePreviousSecond"
|
|
|
|
x:Name="namePreviousSecond"
|
|
|
|
Margin="0,0,4,0"
|
|
|
|
Margin="0,0,4,0"
|
|
|
|
MouseLeftButtonUp="PreviousSecond_MouseLeftButtonUp"
|
|
|
|
Command="{Binding PreviousSecondCommand}"
|
|
|
|
Style="{StaticResource pagerBorder}">
|
|
|
|
Style="{StaticResource pagerButton}"
|
|
|
|
|
|
|
|
Visibility="{Binding PreviousSecondVisibility}">
|
|
|
|
<TextBlock
|
|
|
|
<TextBlock
|
|
|
|
Name="namePreviousSecondText"
|
|
|
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
FontSize="14">
|
|
|
|
FontSize="14"
|
|
|
|
|
|
|
|
Text="{Binding PreviousSecond, Mode=TwoWay}">
|
|
|
|
<TextBlock.Style>
|
|
|
|
<TextBlock.Style>
|
|
|
|
<Style TargetType="TextBlock">
|
|
|
|
<Style TargetType="TextBlock">
|
|
|
|
<Style.Triggers>
|
|
|
|
<Style.Triggers>
|
|
|
@ -154,18 +191,19 @@
|
|
|
|
</Style>
|
|
|
|
</Style>
|
|
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock>
|
|
|
|
</TextBlock>
|
|
|
|
</Border>
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
<Border
|
|
|
|
<Button
|
|
|
|
Name="namePreviousFirst"
|
|
|
|
x:Name="namePreviousFirst"
|
|
|
|
Margin="0,0,4,0"
|
|
|
|
Margin="0,0,4,0"
|
|
|
|
MouseLeftButtonUp="PreviousFirst_MouseLeftButtonUp"
|
|
|
|
Command="{Binding PreviousFirstCommand}"
|
|
|
|
Style="{StaticResource pagerBorder}">
|
|
|
|
Style="{StaticResource pagerButton}"
|
|
|
|
|
|
|
|
Visibility="{Binding PreviousFirstVisibility}">
|
|
|
|
<TextBlock
|
|
|
|
<TextBlock
|
|
|
|
Name="namePreviousFirstText"
|
|
|
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
FontSize="14">
|
|
|
|
FontSize="14"
|
|
|
|
|
|
|
|
Text="{Binding PreviousFirst, Mode=TwoWay}">
|
|
|
|
<TextBlock.Style>
|
|
|
|
<TextBlock.Style>
|
|
|
|
<Style TargetType="TextBlock">
|
|
|
|
<Style TargetType="TextBlock">
|
|
|
|
<Style.Triggers>
|
|
|
|
<Style.Triggers>
|
|
|
@ -179,46 +217,32 @@
|
|
|
|
</Style>
|
|
|
|
</Style>
|
|
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock>
|
|
|
|
</TextBlock>
|
|
|
|
</Border>
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
<Border
|
|
|
|
<Border
|
|
|
|
Name="nameCurrent"
|
|
|
|
|
|
|
|
Margin="0,0,4,0"
|
|
|
|
Margin="0,0,4,0"
|
|
|
|
Background="#FF00A1D6"
|
|
|
|
Background="#FF00A1D6"
|
|
|
|
BorderThickness="0"
|
|
|
|
BorderThickness="0"
|
|
|
|
MouseLeftButtonUp="Current_MouseLeftButtonUp"
|
|
|
|
|
|
|
|
Style="{StaticResource pagerBorder}">
|
|
|
|
Style="{StaticResource pagerBorder}">
|
|
|
|
<TextBlock
|
|
|
|
<TextBlock
|
|
|
|
Name="nameCurrentText"
|
|
|
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
FontSize="14"
|
|
|
|
FontSize="14"
|
|
|
|
Foreground="#FFFFFFFF">
|
|
|
|
Foreground="#FFFFFFFF"
|
|
|
|
<!--<TextBlock.Style>
|
|
|
|
Text="{Binding Current, Mode=TwoWay}" />
|
|
|
|
<Style TargetType="TextBlock">
|
|
|
|
|
|
|
|
<Style.Triggers>
|
|
|
|
|
|
|
|
<DataTrigger Binding="{Binding Path=IsMouseOver, ElementName=nameCurrent}" Value="True">
|
|
|
|
|
|
|
|
<Setter Property="Foreground" Value="#FF00A1D6"/>
|
|
|
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
|
|
|
<DataTrigger Binding="{Binding Path=IsMouseOver, ElementName=nameCurrent}" Value="False">
|
|
|
|
|
|
|
|
<Setter Property="Foreground" Value="#FF657180"/>
|
|
|
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
</TextBlock.Style>-->
|
|
|
|
|
|
|
|
</TextBlock>
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
<Border
|
|
|
|
<Button
|
|
|
|
Name="nameNextFirst"
|
|
|
|
x:Name="nameNextFirst"
|
|
|
|
Margin="0,0,4,0"
|
|
|
|
Margin="0,0,4,0"
|
|
|
|
MouseLeftButtonUp="NextFirst_MouseLeftButtonUp"
|
|
|
|
Command="{Binding NextFirstCommand}"
|
|
|
|
Style="{StaticResource pagerBorder}">
|
|
|
|
Style="{StaticResource pagerButton}"
|
|
|
|
|
|
|
|
Visibility="{Binding NextFirstVisibility}">
|
|
|
|
<TextBlock
|
|
|
|
<TextBlock
|
|
|
|
Name="nameNextFirstText"
|
|
|
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
FontSize="14">
|
|
|
|
FontSize="14"
|
|
|
|
|
|
|
|
Text="{Binding NextFirst, Mode=TwoWay}">
|
|
|
|
<TextBlock.Style>
|
|
|
|
<TextBlock.Style>
|
|
|
|
<Style TargetType="TextBlock">
|
|
|
|
<Style TargetType="TextBlock">
|
|
|
|
<Style.Triggers>
|
|
|
|
<Style.Triggers>
|
|
|
@ -232,18 +256,19 @@
|
|
|
|
</Style>
|
|
|
|
</Style>
|
|
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock>
|
|
|
|
</TextBlock>
|
|
|
|
</Border>
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
<Border
|
|
|
|
<Button
|
|
|
|
Name="nameNextSecond"
|
|
|
|
x:Name="nameNextSecond"
|
|
|
|
Margin="0,0,4,0"
|
|
|
|
Margin="0,0,4,0"
|
|
|
|
MouseLeftButtonUp="NextSecond_MouseLeftButtonUp"
|
|
|
|
Command="{Binding NextSecondCommand}"
|
|
|
|
Style="{StaticResource pagerBorder}">
|
|
|
|
Style="{StaticResource pagerButton}"
|
|
|
|
|
|
|
|
Visibility="{Binding NextSecondVisibility}">
|
|
|
|
<TextBlock
|
|
|
|
<TextBlock
|
|
|
|
Name="nameNextSecondText"
|
|
|
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
FontSize="14">
|
|
|
|
FontSize="14"
|
|
|
|
|
|
|
|
Text="{Binding NextSecond, Mode=TwoWay}">
|
|
|
|
<TextBlock.Style>
|
|
|
|
<TextBlock.Style>
|
|
|
|
<Style TargetType="TextBlock">
|
|
|
|
<Style TargetType="TextBlock">
|
|
|
|
<Style.Triggers>
|
|
|
|
<Style.Triggers>
|
|
|
@ -257,13 +282,13 @@
|
|
|
|
</Style>
|
|
|
|
</Style>
|
|
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock>
|
|
|
|
</TextBlock>
|
|
|
|
</Border>
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
<Border
|
|
|
|
<Border
|
|
|
|
Name="nameRightJump"
|
|
|
|
|
|
|
|
Width="20"
|
|
|
|
Width="20"
|
|
|
|
Height="40"
|
|
|
|
Height="40"
|
|
|
|
Margin="0,0,4,0">
|
|
|
|
Margin="0,0,4,0"
|
|
|
|
|
|
|
|
Visibility="{Binding RightJumpVisibility}">
|
|
|
|
<TextBlock
|
|
|
|
<TextBlock
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
@ -271,16 +296,17 @@
|
|
|
|
Text="•••" />
|
|
|
|
Text="•••" />
|
|
|
|
</Border>
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
<Border
|
|
|
|
<Button
|
|
|
|
Name="nameLast"
|
|
|
|
x:Name="nameLast"
|
|
|
|
Margin="0,0,4,0"
|
|
|
|
Margin="0,0,4,0"
|
|
|
|
MouseLeftButtonUp="Last_MouseLeftButtonUp"
|
|
|
|
Command="{Binding LastCommand}"
|
|
|
|
Style="{StaticResource pagerBorder}">
|
|
|
|
Style="{StaticResource pagerButton}"
|
|
|
|
|
|
|
|
Visibility="{Binding LastVisibility}">
|
|
|
|
<TextBlock
|
|
|
|
<TextBlock
|
|
|
|
Name="nameLastText"
|
|
|
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
FontSize="14">
|
|
|
|
FontSize="14"
|
|
|
|
|
|
|
|
Text="{Binding Count}">
|
|
|
|
<TextBlock.Style>
|
|
|
|
<TextBlock.Style>
|
|
|
|
<Style TargetType="TextBlock">
|
|
|
|
<Style TargetType="TextBlock">
|
|
|
|
<Style.Triggers>
|
|
|
|
<Style.Triggers>
|
|
|
@ -294,13 +320,14 @@
|
|
|
|
</Style>
|
|
|
|
</Style>
|
|
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock>
|
|
|
|
</TextBlock>
|
|
|
|
</Border>
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
<Border
|
|
|
|
<Button
|
|
|
|
Name="nameNext"
|
|
|
|
x:Name="nameNext"
|
|
|
|
Margin="4,0,4,0"
|
|
|
|
Margin="4,0,4,0"
|
|
|
|
MouseLeftButtonUp="Next_MouseLeftButtonUp"
|
|
|
|
Command="{Binding NextCommand}"
|
|
|
|
Style="{StaticResource pagerBorder}">
|
|
|
|
Style="{StaticResource pagerButton}"
|
|
|
|
|
|
|
|
Visibility="{Binding NextVisibility}">
|
|
|
|
<Image
|
|
|
|
<Image
|
|
|
|
Width="16"
|
|
|
|
Width="16"
|
|
|
|
Height="16"
|
|
|
|
Height="16"
|
|
|
@ -310,16 +337,16 @@
|
|
|
|
<Style TargetType="Image">
|
|
|
|
<Style TargetType="Image">
|
|
|
|
<Style.Triggers>
|
|
|
|
<Style.Triggers>
|
|
|
|
<DataTrigger Binding="{Binding Path=IsMouseOver, ElementName=nameNext}" Value="True">
|
|
|
|
<DataTrigger Binding="{Binding Path=IsMouseOver, ElementName=nameNext}" Value="True">
|
|
|
|
<Setter Property="Source" Value="{DynamicResource ToRightHoverDrawingImage}" />
|
|
|
|
<Setter Property="Source" Value="{StaticResource ToRightHoverDrawingImage}" />
|
|
|
|
</DataTrigger>
|
|
|
|
</DataTrigger>
|
|
|
|
<DataTrigger Binding="{Binding Path=IsMouseOver, ElementName=nameNext}" Value="False">
|
|
|
|
<DataTrigger Binding="{Binding Path=IsMouseOver, ElementName=nameNext}" Value="False">
|
|
|
|
<Setter Property="Source" Value="{DynamicResource ToRightDrawingImage}" />
|
|
|
|
<Setter Property="Source" Value="{StaticResource ToRightDrawingImage}" />
|
|
|
|
</DataTrigger>
|
|
|
|
</DataTrigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
</Style>
|
|
|
|
</Image.Style>
|
|
|
|
</Image.Style>
|
|
|
|
</Image>
|
|
|
|
</Image>
|
|
|
|
</Border>
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
</UserControl>
|
|
|
|
</UserControl>
|
|
|
|