|
@@ -19,6 +19,7 @@
|
|
<DataTemplate x:Key="PromotionDataTemplate">
|
|
<DataTemplate x:Key="PromotionDataTemplate">
|
|
<StackPanel
|
|
<StackPanel
|
|
Height="32"
|
|
Height="32"
|
|
|
|
+ Margin="16 0"
|
|
Background="Transparent"
|
|
Background="Transparent"
|
|
Cursor="Hand"
|
|
Cursor="Hand"
|
|
Orientation="Horizontal">
|
|
Orientation="Horizontal">
|
|
@@ -26,9 +27,9 @@
|
|
Width="16"
|
|
Width="16"
|
|
Height="16"
|
|
Height="16"
|
|
Margin="0,0,10,0"
|
|
Margin="0,0,10,0"
|
|
- Source="{Binding ImagePath}"
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
- UseLayoutRounding="True"/>
|
|
|
|
|
|
+ Source="{Binding ImagePath}"
|
|
|
|
+ UseLayoutRounding="True" />
|
|
<TextBlock
|
|
<TextBlock
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
FontSize="14"
|
|
FontSize="14"
|
|
@@ -38,7 +39,7 @@
|
|
</DataTemplate>
|
|
</DataTemplate>
|
|
</ResourceDictionary>
|
|
</ResourceDictionary>
|
|
</UserControl.Resources>
|
|
</UserControl.Resources>
|
|
- <ScrollViewer VerticalScrollBarVisibility="Auto">
|
|
|
|
|
|
+ <ScrollViewer Margin="16,0" VerticalScrollBarVisibility="Auto">
|
|
<Grid>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="*" />
|
|
@@ -47,15 +48,16 @@
|
|
<StackPanel>
|
|
<StackPanel>
|
|
<Expander
|
|
<Expander
|
|
x:Name="PDFProSeriesExpander"
|
|
x:Name="PDFProSeriesExpander"
|
|
- Margin="20,20,0,0"
|
|
|
|
|
|
+ Padding="0"
|
|
IsExpanded="True"
|
|
IsExpanded="True"
|
|
Style="{StaticResource PromotionExpanderStyle}">
|
|
Style="{StaticResource PromotionExpanderStyle}">
|
|
<Expander.Header>
|
|
<Expander.Header>
|
|
- <Grid
|
|
|
|
- Name="GridHeader"
|
|
|
|
- Height="32"
|
|
|
|
- HorizontalAlignment="Center">
|
|
|
|
- <TextBlock VerticalAlignment="Center" Text="PDF Pro Series" />
|
|
|
|
|
|
+ <Grid Name="GridHeader" Height="32">
|
|
|
|
+ <TextBlock
|
|
|
|
+ Margin="16,0"
|
|
|
|
+ VerticalAlignment="Center"
|
|
|
|
+ Text="PDF Pro Series"
|
|
|
|
+ TextAlignment="Left" />
|
|
</Grid>
|
|
</Grid>
|
|
</Expander.Header>
|
|
</Expander.Header>
|
|
<Border CornerRadius="4">
|
|
<Border CornerRadius="4">
|
|
@@ -71,11 +73,12 @@
|
|
<Style BasedOn="{StaticResource EmptyListViewItem}" TargetType="{x:Type ListViewItem}">
|
|
<Style BasedOn="{StaticResource EmptyListViewItem}" TargetType="{x:Type ListViewItem}">
|
|
<Style.Triggers>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
- <Setter Property="Background" Value="{StaticResource color.item-state.hov.bg}" />
|
|
|
|
|
|
+ <Setter Property="Background" Value="{StaticResource color.item-state.sel.bg.lv2}" />
|
|
</Trigger>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style.Triggers>
|
|
<EventSetter Event="PreviewMouseLeftButtonDown" Handler="FrameworkElement_PreviewMouseLeftButtonDown" />
|
|
<EventSetter Event="PreviewMouseLeftButtonDown" Handler="FrameworkElement_PreviewMouseLeftButtonDown" />
|
|
<Setter Property="AllowDrop" Value="True" />
|
|
<Setter Property="AllowDrop" Value="True" />
|
|
|
|
+ <Setter Property="Height" Value="32" />
|
|
</Style>
|
|
</Style>
|
|
</ListView.ItemContainerStyle>
|
|
</ListView.ItemContainerStyle>
|
|
</ListView>
|
|
</ListView>
|
|
@@ -86,13 +89,14 @@
|
|
|
|
|
|
<Expander
|
|
<Expander
|
|
x:Name="OthersExpander"
|
|
x:Name="OthersExpander"
|
|
- Margin="20,8,0,0"
|
|
|
|
|
|
+ Margin="0,8,0,0"
|
|
IsExpanded="True"
|
|
IsExpanded="True"
|
|
Style="{StaticResource PromotionExpanderStyle}">
|
|
Style="{StaticResource PromotionExpanderStyle}">
|
|
<Expander.Header>
|
|
<Expander.Header>
|
|
<Grid
|
|
<Grid
|
|
Name="GridHeaderOthers"
|
|
Name="GridHeaderOthers"
|
|
Height="32"
|
|
Height="32"
|
|
|
|
+ Margin="16,0"
|
|
HorizontalAlignment="Center">
|
|
HorizontalAlignment="Center">
|
|
<TextBlock VerticalAlignment="Center" Text="Others" />
|
|
<TextBlock VerticalAlignment="Center" Text="Others" />
|
|
</Grid>
|
|
</Grid>
|
|
@@ -108,13 +112,15 @@
|
|
ItemTemplate="{StaticResource PromotionDataTemplate}">
|
|
ItemTemplate="{StaticResource PromotionDataTemplate}">
|
|
<ListView.ItemContainerStyle>
|
|
<ListView.ItemContainerStyle>
|
|
<Style BasedOn="{StaticResource EmptyListViewItem}" TargetType="{x:Type ListViewItem}">
|
|
<Style BasedOn="{StaticResource EmptyListViewItem}" TargetType="{x:Type ListViewItem}">
|
|
|
|
+
|
|
<Style.Triggers>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
- <Setter Property="Background" Value="{StaticResource color.item-state.hov.bg}" />
|
|
|
|
|
|
+ <Setter Property="Background" Value="{StaticResource color.item-state.sel.bg.lv2}" />
|
|
</Trigger>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style.Triggers>
|
|
<EventSetter Event="PreviewMouseLeftButtonDown" Handler="FrameworkElement_PreviewMouseLeftButtonDown" />
|
|
<EventSetter Event="PreviewMouseLeftButtonDown" Handler="FrameworkElement_PreviewMouseLeftButtonDown" />
|
|
<Setter Property="AllowDrop" Value="True" />
|
|
<Setter Property="AllowDrop" Value="True" />
|
|
|
|
+ <Setter Property="Height" Value="32" />
|
|
</Style>
|
|
</Style>
|
|
</ListView.ItemContainerStyle>
|
|
</ListView.ItemContainerStyle>
|
|
</ListView>
|
|
</ListView>
|
|
@@ -129,7 +135,7 @@
|
|
Grid.Row="1"
|
|
Grid.Row="1"
|
|
Width="184"
|
|
Width="184"
|
|
Height="243"
|
|
Height="243"
|
|
- Margin="0,30"
|
|
|
|
|
|
+ Margin="0,24"
|
|
VerticalAlignment="Bottom"
|
|
VerticalAlignment="Bottom"
|
|
PreviewMouseLeftButtonDown="ImgeActivity_PreviewMouseLeftButtonDown" />
|
|
PreviewMouseLeftButtonDown="ImgeActivity_PreviewMouseLeftButtonDown" />
|
|
</Grid>
|
|
</Grid>
|