|
@@ -14,7 +14,7 @@
|
|
|
Width="260"
|
|
|
d:DataContext="{d:DesignInstance Type=annotpanel:StampAnnotPropertyViewModel}"
|
|
|
Background="{StaticResource color.sys.layout.mg}"
|
|
|
- KeyDown="UserControl_KeyDown"
|
|
|
+
|
|
|
Loaded="UserControl_Loaded"
|
|
|
mc:Ignorable="d">
|
|
|
<UserControl.Resources>
|
|
@@ -173,65 +173,65 @@
|
|
|
FontSize="12"
|
|
|
IsSelected="True">
|
|
|
<Grid>
|
|
|
- <ListBox ItemsSource="{Binding StandardStampList}" SelectionMode="Single" Height="auto" VerticalAlignment="Top" BorderThickness="0" ScrollViewer.HorizontalScrollBarVisibility="Disabled" >
|
|
|
+ <ListBox ItemsSource="{Binding StandardStampList}" SelectionMode="Single" Height="auto" VerticalAlignment="Top" BorderThickness="0" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
|
|
|
<ListBox.ItemTemplate>
|
|
|
- <DataTemplate >
|
|
|
- <Grid >
|
|
|
+ <DataTemplate>
|
|
|
+ <Grid>
|
|
|
<Grid.ContextMenu>
|
|
|
<ContextMenu>
|
|
|
<MenuItem Header="导出图章">
|
|
|
- <MenuItem x:Name="SavePNG" Header="PNG" Tag="PNG" Click="Save_Click"/>
|
|
|
- <MenuItem x:Name="SavePDF" Header="PDF" Tag="PDF" Click="Save_Click"/>
|
|
|
+ <MenuItem x:Name="SavePNG" Header="PNG" Tag="PNG" Click="Save_Click" />
|
|
|
+ <MenuItem x:Name="SavePDF" Header="PDF" Tag="PDF" Click="Save_Click" />
|
|
|
</MenuItem>
|
|
|
</ContextMenu>
|
|
|
</Grid.ContextMenu>
|
|
|
- <Image Source="{Binding SourcePath}" Stretch="Uniform" Height="40"/>
|
|
|
+ <Image Source="{Binding SourcePath}" Stretch="Uniform" Height="40" />
|
|
|
</Grid>
|
|
|
</DataTemplate>
|
|
|
</ListBox.ItemTemplate>
|
|
|
<ListBox.ItemContainerStyle>
|
|
|
<Style TargetType="ListBoxItem">
|
|
|
- <Setter Property="Height" Value="65"/>
|
|
|
- <Setter Property="Padding" Value="8"/>
|
|
|
- <Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
|
+ <Setter Property="Height" Value="65" />
|
|
|
+ <Setter Property="Padding" Value="8" />
|
|
|
+ <Setter Property="HorizontalContentAlignment" Value="Center" />
|
|
|
<Setter Property="Template">
|
|
|
<Setter.Value>
|
|
|
<ControlTemplate TargetType="{x:Type ListBoxItem}">
|
|
|
<Border x:Name="Bd" CornerRadius="8" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}" SnapsToDevicePixels="true">
|
|
|
- <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
|
|
+ <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
|
|
|
</Border>
|
|
|
<ControlTemplate.Triggers>
|
|
|
<MultiTrigger>
|
|
|
<MultiTrigger.Conditions>
|
|
|
- <Condition Property="IsMouseOver" Value="True"/>
|
|
|
+ <Condition Property="IsMouseOver" Value="True" />
|
|
|
</MultiTrigger.Conditions>
|
|
|
- <Setter Property="Background" TargetName="Bd" Value="{StaticResource color.item-state.hov.bg}"/>
|
|
|
- <Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource color.item-state.hov.bg}"/>
|
|
|
+ <Setter Property="Background" TargetName="Bd" Value="{StaticResource color.item-state.hov.bg}" />
|
|
|
+ <Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource color.item-state.hov.bg}" />
|
|
|
</MultiTrigger>
|
|
|
<MultiTrigger>
|
|
|
<MultiTrigger.Conditions>
|
|
|
- <Condition Property="Selector.IsSelectionActive" Value="False"/>
|
|
|
- <Condition Property="IsSelected" Value="True"/>
|
|
|
+ <Condition Property="Selector.IsSelectionActive" Value="False" />
|
|
|
+ <Condition Property="IsSelected" Value="True" />
|
|
|
</MultiTrigger.Conditions>
|
|
|
- <Setter Property="Background" TargetName="Bd" Value="{StaticResource Item.SelectedInactive.Background}"/>
|
|
|
- <Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource Item.SelectedInactive.Border}"/>
|
|
|
+ <Setter Property="Background" TargetName="Bd" Value="{StaticResource Item.SelectedInactive.Background}" />
|
|
|
+ <Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource Item.SelectedInactive.Border}" />
|
|
|
</MultiTrigger>
|
|
|
<MultiTrigger>
|
|
|
<MultiTrigger.Conditions>
|
|
|
- <Condition Property="Selector.IsSelectionActive" Value="True"/>
|
|
|
- <Condition Property="IsSelected" Value="True"/>
|
|
|
+ <Condition Property="Selector.IsSelectionActive" Value="True" />
|
|
|
+ <Condition Property="IsSelected" Value="True" />
|
|
|
</MultiTrigger.Conditions>
|
|
|
- <Setter Property="Background" TargetName="Bd" Value="{StaticResource color.item-state.sel.bg.lv3}"/>
|
|
|
- <Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource color.item-state.sel.border.lv3}"/>
|
|
|
+ <Setter Property="Background" TargetName="Bd" Value="{StaticResource color.item-state.sel.bg.lv3}" />
|
|
|
+ <Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource color.item-state.sel.border.lv3}" />
|
|
|
</MultiTrigger>
|
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
|
- <Setter Property="TextElement.Foreground" TargetName="Bd" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
|
|
|
+ <Setter Property="TextElement.Foreground" TargetName="Bd" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
|
|
|
</Trigger>
|
|
|
</ControlTemplate.Triggers>
|
|
|
</ControlTemplate>
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
- <EventSetter Event="PreviewMouseLeftButtonDown" Handler="ListBoxItem_PreviewMouseLeftButtonDown"/>
|
|
|
+ <EventSetter Event="PreviewMouseLeftButtonDown" Handler="ListBoxItem_PreviewMouseLeftButtonDown" />
|
|
|
</Style>
|
|
|
</ListBox.ItemContainerStyle>
|
|
|
</ListBox>
|
|
@@ -241,59 +241,58 @@
|
|
|
Header="Dynamic"
|
|
|
FontFamily="Segoe UI" Foreground="#FF666666"
|
|
|
HorizontalContentAlignment="Center"
|
|
|
- FontSize="12"
|
|
|
- >
|
|
|
- <ListBox Tag="Dynamic" DataContext="{Binding}" ItemsSource="{Binding DynamicStampList}" Loaded="DydamicListBox_Loaded" SelectionMode="Single" Height="auto" VerticalAlignment="Top" BorderThickness="0" ScrollViewer.HorizontalScrollBarVisibility="Disabled" >
|
|
|
+ FontSize="12">
|
|
|
+ <ListBox Tag="Dynamic" DataContext="{Binding}" ItemsSource="{Binding DynamicStampList}" Loaded="DydamicListBox_Loaded" SelectionMode="Single" Height="auto" VerticalAlignment="Top" BorderThickness="0" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
|
|
|
<ListBox.ItemTemplate>
|
|
|
- <DataTemplate >
|
|
|
+ <DataTemplate>
|
|
|
<Grid>
|
|
|
- <Image Source="{Binding ImageSource}" Stretch="Uniform" Height="48"/>
|
|
|
+ <Image Source="{Binding ImageSource}" Stretch="Uniform" Height="48" />
|
|
|
</Grid>
|
|
|
</DataTemplate>
|
|
|
</ListBox.ItemTemplate>
|
|
|
<ListBox.ItemContainerStyle>
|
|
|
<Style TargetType="ListBoxItem">
|
|
|
- <Setter Property="Height" Value="65"/>
|
|
|
- <Setter Property="Padding" Value="8"/>
|
|
|
- <Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
|
+ <Setter Property="Height" Value="65" />
|
|
|
+ <Setter Property="Padding" Value="8" />
|
|
|
+ <Setter Property="HorizontalContentAlignment" Value="Center" />
|
|
|
<Setter Property="Template">
|
|
|
<Setter.Value>
|
|
|
<ControlTemplate TargetType="{x:Type ListBoxItem}">
|
|
|
<Border x:Name="Bd" CornerRadius="8" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}" SnapsToDevicePixels="true">
|
|
|
- <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
|
|
+ <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
|
|
|
</Border>
|
|
|
<ControlTemplate.Triggers>
|
|
|
<MultiTrigger>
|
|
|
<MultiTrigger.Conditions>
|
|
|
- <Condition Property="IsMouseOver" Value="True"/>
|
|
|
+ <Condition Property="IsMouseOver" Value="True" />
|
|
|
</MultiTrigger.Conditions>
|
|
|
- <Setter Property="Background" TargetName="Bd" Value="{StaticResource color.item-state.hov.bg}"/>
|
|
|
- <Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource color.item-state.hov.bg}"/>
|
|
|
+ <Setter Property="Background" TargetName="Bd" Value="{StaticResource color.item-state.hov.bg}" />
|
|
|
+ <Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource color.item-state.hov.bg}" />
|
|
|
</MultiTrigger>
|
|
|
<MultiTrigger>
|
|
|
<MultiTrigger.Conditions>
|
|
|
- <Condition Property="Selector.IsSelectionActive" Value="False"/>
|
|
|
- <Condition Property="IsSelected" Value="True"/>
|
|
|
+ <Condition Property="Selector.IsSelectionActive" Value="False" />
|
|
|
+ <Condition Property="IsSelected" Value="True" />
|
|
|
</MultiTrigger.Conditions>
|
|
|
- <Setter Property="Background" TargetName="Bd" Value="{StaticResource Item.SelectedInactive.Background}"/>
|
|
|
- <Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource Item.SelectedInactive.Border}"/>
|
|
|
+ <Setter Property="Background" TargetName="Bd" Value="{StaticResource Item.SelectedInactive.Background}" />
|
|
|
+ <Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource Item.SelectedInactive.Border}" />
|
|
|
</MultiTrigger>
|
|
|
<MultiTrigger>
|
|
|
<MultiTrigger.Conditions>
|
|
|
- <Condition Property="Selector.IsSelectionActive" Value="True"/>
|
|
|
- <Condition Property="IsSelected" Value="True"/>
|
|
|
+ <Condition Property="Selector.IsSelectionActive" Value="True" />
|
|
|
+ <Condition Property="IsSelected" Value="True" />
|
|
|
</MultiTrigger.Conditions>
|
|
|
- <Setter Property="Background" TargetName="Bd" Value="{StaticResource color.item-state.sel.bg.lv3}"/>
|
|
|
- <Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource color.item-state.sel.border.lv3}"/>
|
|
|
+ <Setter Property="Background" TargetName="Bd" Value="{StaticResource color.item-state.sel.bg.lv3}" />
|
|
|
+ <Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource color.item-state.sel.border.lv3}" />
|
|
|
</MultiTrigger>
|
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
|
- <Setter Property="TextElement.Foreground" TargetName="Bd" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
|
|
|
+ <Setter Property="TextElement.Foreground" TargetName="Bd" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
|
|
|
</Trigger>
|
|
|
</ControlTemplate.Triggers>
|
|
|
</ControlTemplate>
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
- <EventSetter Event="PreviewMouseLeftButtonDown" Handler="ListBoxItem_PreviewMouseLeftButtonDown"/>
|
|
|
+ <EventSetter Event="PreviewMouseLeftButtonDown" Handler="ListBoxItem_PreviewMouseLeftButtonDown" />
|
|
|
</Style>
|
|
|
</ListBox.ItemContainerStyle>
|
|
|
</ListBox>
|
|
@@ -302,17 +301,15 @@
|
|
|
Header="Custom"
|
|
|
FontFamily="Segoe UI" Foreground="#FF666666"
|
|
|
FontSize="12"
|
|
|
- HorizontalContentAlignment="Center"
|
|
|
- >
|
|
|
+ HorizontalContentAlignment="Center">
|
|
|
<Grid>
|
|
|
<StackPanel VerticalAlignment="Center" x:Name="NoStampStackPanel" Visibility="{Binding CustomStampList.Count, Converter={StaticResource ListCountToVisible}}">
|
|
|
<Image Source="pack://application:,,,/PDF Master;component/Resources/PropertyPanel/nostamp.png" />
|
|
|
- <TextBlock Text="No custom stamp created" FontSize="14" FontFamily="Segoe UI" Height="22" HorizontalAlignment="Center"/>
|
|
|
+ <TextBlock Text="No custom stamp created" FontSize="14" FontFamily="Segoe UI" Height="22" HorizontalAlignment="Center" />
|
|
|
<TextBlock Width="168" FontSize="12" FontFamily="Segoe UI" TextWrapping="Wrap" Foreground="#94989C" HorizontalAlignment="Center">
|
|
|
- <Run Text="Click the" />
|
|
|
- <Run Text="Add button" FontWeight="Bold"/>
|
|
|
+ <Run Text="Click the" />
|
|
|
+ <Run Text="Add button" FontWeight="Bold" />
|
|
|
<Run Text="in the upper right corner to create a new stamp." />
|
|
|
-
|
|
|
</TextBlock>
|
|
|
</StackPanel>
|
|
|
<ListBox Name="CusListbox" Margin="0 0 0 56" Visibility="{Binding ElementName=NoStampStackPanel,Path=Visibility,Converter={StaticResource UnVisivleConvert}}"
|
|
@@ -321,25 +318,24 @@
|
|
|
BorderThickness="0"
|
|
|
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
|
|
ItemsSource="{Binding CustomStampList}"
|
|
|
- SelectedIndex="{Binding CusListboxIndex,Mode=TwoWay}"
|
|
|
- >
|
|
|
+ SelectedIndex="{Binding CusListboxIndex,Mode=TwoWay}">
|
|
|
<ListBox.ItemTemplate>
|
|
|
- <HierarchicalDataTemplate DataType="{x:Type model:Stamp}" >
|
|
|
+ <HierarchicalDataTemplate DataType="{x:Type model:Stamp}">
|
|
|
<Grid>
|
|
|
<Grid.ContextMenu>
|
|
|
<ContextMenu>
|
|
|
- <MenuItem x:Name="Delete" Header="删除图章" Click="Delete_Click"/>
|
|
|
- <MenuItem x:Name="DeleteAll" Header="删除全部图章" Click="DeleteAll_Click"/>
|
|
|
+ <MenuItem x:Name="Delete" Header="删除图章" Click="Delete_Click" />
|
|
|
+ <MenuItem x:Name="DeleteAll" Header="删除全部图章" Click="DeleteAll_Click" />
|
|
|
<MenuItem Header="导出图章">
|
|
|
- <MenuItem x:Name="SavePNG" Header="PNG" Tag="PNG" Click="Save_Click"/>
|
|
|
- <MenuItem x:Name="SavePDF" Header="PDF" Tag="PDF" Click="Save_Click"/>
|
|
|
+ <MenuItem x:Name="SavePNG" Header="PNG" Tag="PNG" Click="Save_Click" />
|
|
|
+ <MenuItem x:Name="SavePDF" Header="PDF" Tag="PDF" Click="Save_Click" />
|
|
|
</MenuItem>
|
|
|
- <MenuItem Header="编辑文字图章" Click="Editor_Click" Visibility="Collapsed"/>
|
|
|
+ <MenuItem Header="编辑文字图章" Click="Editor_Click" Visibility="Collapsed" />
|
|
|
</ContextMenu>
|
|
|
</Grid.ContextMenu>
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
- <Image Source="{Binding SourcePath}"/>
|
|
|
- <Button HorizontalAlignment="Right" VerticalAlignment="Top" x:Name="DeleteIcon" Width="20" Height="20" Click="Delete_Click" Visibility="Hidden"/>
|
|
|
+ <Image Source="{Binding SourcePath}" />
|
|
|
+ <Button HorizontalAlignment="Right" VerticalAlignment="Top" x:Name="DeleteIcon" Width="20" Height="20" Click="Delete_Click" Visibility="Hidden" />
|
|
|
</StackPanel>
|
|
|
</Grid>
|
|
|
<HierarchicalDataTemplate.Triggers>
|
|
@@ -348,52 +344,51 @@
|
|
|
</Trigger>
|
|
|
</HierarchicalDataTemplate.Triggers>
|
|
|
</HierarchicalDataTemplate>
|
|
|
-
|
|
|
</ListBox.ItemTemplate>
|
|
|
|
|
|
<ListBox.ItemContainerStyle>
|
|
|
<Style TargetType="ListBoxItem">
|
|
|
- <Setter Property="Height" Value="65"/>
|
|
|
- <Setter Property="Padding" Value="8"/>
|
|
|
+ <Setter Property="Height" Value="65" />
|
|
|
+ <Setter Property="Padding" Value="8" />
|
|
|
<Setter Property="Template">
|
|
|
<Setter.Value>
|
|
|
<ControlTemplate TargetType="{x:Type ListBoxItem}">
|
|
|
<Border x:Name="Bd" CornerRadius="8" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}" SnapsToDevicePixels="true">
|
|
|
- <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
|
|
+ <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
|
|
|
</Border>
|
|
|
<ControlTemplate.Triggers>
|
|
|
<MultiTrigger>
|
|
|
<MultiTrigger.Conditions>
|
|
|
- <Condition Property="IsMouseOver" Value="True"/>
|
|
|
+ <Condition Property="IsMouseOver" Value="True" />
|
|
|
</MultiTrigger.Conditions>
|
|
|
- <Setter Property="Background" TargetName="Bd" Value="{StaticResource color.item-state.hov.bg}"/>
|
|
|
- <Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource color.item-state.hov.bg}"/>
|
|
|
+ <Setter Property="Background" TargetName="Bd" Value="{StaticResource color.item-state.hov.bg}" />
|
|
|
+ <Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource color.item-state.hov.bg}" />
|
|
|
</MultiTrigger>
|
|
|
<MultiTrigger>
|
|
|
<MultiTrigger.Conditions>
|
|
|
- <Condition Property="Selector.IsSelectionActive" Value="False"/>
|
|
|
- <Condition Property="IsSelected" Value="True"/>
|
|
|
+ <Condition Property="Selector.IsSelectionActive" Value="False" />
|
|
|
+ <Condition Property="IsSelected" Value="True" />
|
|
|
</MultiTrigger.Conditions>
|
|
|
- <Setter Property="Background" TargetName="Bd" Value="{StaticResource Item.SelectedInactive.Background}"/>
|
|
|
- <Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource Item.SelectedInactive.Border}"/>
|
|
|
+ <Setter Property="Background" TargetName="Bd" Value="{StaticResource Item.SelectedInactive.Background}" />
|
|
|
+ <Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource Item.SelectedInactive.Border}" />
|
|
|
</MultiTrigger>
|
|
|
<MultiTrigger>
|
|
|
<MultiTrigger.Conditions>
|
|
|
- <Condition Property="Selector.IsSelectionActive" Value="True"/>
|
|
|
- <Condition Property="IsSelected" Value="True"/>
|
|
|
+ <Condition Property="Selector.IsSelectionActive" Value="True" />
|
|
|
+ <Condition Property="IsSelected" Value="True" />
|
|
|
</MultiTrigger.Conditions>
|
|
|
- <Setter Property="Background" TargetName="Bd" Value="{StaticResource color.item-state.sel.bg.lv3}"/>
|
|
|
- <Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource color.item-state.sel.border.lv3}"/>
|
|
|
+ <Setter Property="Background" TargetName="Bd" Value="{StaticResource color.item-state.sel.bg.lv3}" />
|
|
|
+ <Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource color.item-state.sel.border.lv3}" />
|
|
|
</MultiTrigger>
|
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
|
- <Setter Property="TextElement.Foreground" TargetName="Bd" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
|
|
|
+ <Setter Property="TextElement.Foreground" TargetName="Bd" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
|
|
|
</Trigger>
|
|
|
</ControlTemplate.Triggers>
|
|
|
</ControlTemplate>
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
- <Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
|
- <EventSetter Event="PreviewMouseLeftButtonDown" Handler="ListBoxItem_PreviewMouseLeftButtonDown"/>
|
|
|
+ <Setter Property="HorizontalContentAlignment" Value="Center" />
|
|
|
+ <EventSetter Event="PreviewMouseLeftButtonDown" Handler="ListBoxItem_PreviewMouseLeftButtonDown" />
|
|
|
</Style>
|
|
|
</ListBox.ItemContainerStyle>
|
|
|
</ListBox>
|
|
@@ -401,4 +396,4 @@
|
|
|
</TabItem>
|
|
|
</TabControl>-->
|
|
|
</Grid>
|
|
|
-</UserControl>
|
|
|
+</UserControl>
|