| <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| <ResourceDictionary 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"> |
| |
| |
. | |
| <Style x:Key="ItemFilterQuickPreset" TargetType="CheckBoxEx"> |
| |
| <Setter Property="Background" Value="Transparent" /> |
| |
| <Setter Property="FocusVisualStyle" Value="{x:Null}" /> |
| |
| <Setter Property="SnapsToDevicePixels" Value="True" /> |
| |
| <Setter Property="VerticalAlignment" Value="Center" /> |
| |
| <Setter Property="Template"> |
| |
| <Setter.Value> |
| |
| <ControlTemplate TargetType="CheckBoxEx"> |
| |
| <Border Background="{TemplateBinding Background}" |
| |
| Margin="10,0,10,0"> |
| |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
| |
| FontFamily="{DynamicResource FontTitilliumWeb}" |
| |
| x:Name="TextContent"> |
| |
| <Grid> |
| |
| <TextBlock Text="{Binding Name}" FontWeight="SemiBold" Visibility="Hidden"/> |
| |
| <StackPanel> |
| |
| <TextBlock Text="{Binding Name}" HorizontalAlignment="Center"/> |
| |
| <TextBlock Text="●" Style="{DynamicResource TextBlockBaseStyle}" |
| |
| FontSize="12" |
| |
| HorizontalAlignment="Center" |
| |
| x:Name="SelectionBullet" Visibility="Hidden"/> |
| |
| </StackPanel> |
| |
| </Grid> |
| |
| </TextBlock> |
| |
| </Border> |
| |
| <ControlTemplate.Triggers> |
| |
| <Trigger Property="IsFocused" Value="True"> |
| |
| <Setter Property="FontWeight" Value="SemiBold" TargetName="TextContent" /> |
| |
| <Setter Property="Visibility" Value="Visible" TargetName="SelectionBullet" /> |
| |
| </Trigger> |
| |
| <Trigger Property="IsChecked" Value="True"> |
| |
| <Setter Property="FontWeight" Value="SemiBold" TargetName="TextContent" /> |
| |
| <Setter Property="Visibility" Value="Visible" TargetName="SelectionBullet" /> |
| |
| </Trigger> |
| |
| </ControlTemplate.Triggers> |
| |
| </ControlTemplate> |
| |
| </Setter.Value> |
| |
| </Setter> |
| |
| </Style> |
| |
| |
| <Style TargetType="{x:Type FilterPresetSelector}"> |
| <Style TargetType="{x:Type FilterPresetSelector}"> |
| <Setter Property="Focusable" Value="False" /> |
| <Setter Property="Focusable" Value="False" /> |
| <Setter Property="Template"> |
| <Setter Property="Template"> |
| <Setter.Value> |
| <Setter.Value> |
| <ControlTemplate TargetType="{x:Type FilterPresetSelector}"> |
| <ControlTemplate TargetType="{x:Type FilterPresetSelector}"> |
. | <ListBox x:Name="PART_ItemsFilterPresets"> |
| <ItemsControlEx x:Name="PART_ItemsFilterPresets" Focusable="False" |
| <ItemsControl.ItemsPanel> |
| KeyboardNavigation.DirectionalNavigation="Once" |
| |
| HorizontalLayout="True"> |
| |
| <ItemsControl.ItemsPanel> |
| <ItemsPanelTemplate> |
| <ItemsPanelTemplate> |
| <StackPanel Orientation="Horizontal" /> |
| <StackPanel Orientation="Horizontal" /> |
| </ItemsPanelTemplate> |
| </ItemsPanelTemplate> |
| </ItemsControl.ItemsPanel> |
| </ItemsControl.ItemsPanel> |
| <ItemsControl.Template> |
| <ItemsControl.Template> |
| <ControlTemplate> |
| <ControlTemplate> |
| <ScrollViewer Focusable="False" |
| <ScrollViewer Focusable="False" |
. | HorizontalScrollBarVisibility="Disabled" |
| HorizontalScrollBarVisibility="Hidden" |
| VerticalScrollBarVisibility="Disabled" |
| VerticalScrollBarVisibility="Disabled" |
| CanContentScroll="True"> |
| CanContentScroll="True"> |
| <ItemsPresenter /> |
| <ItemsPresenter /> |
| </ScrollViewer> |
| </ScrollViewer> |
| </ControlTemplate> |
| </ControlTemplate> |
| </ItemsControl.Template> |
| </ItemsControl.Template> |
. | </ListBox> |
| </ItemsControlEx> |
| </ControlTemplate> |
| </ControlTemplate> |
| </Setter.Value> |
| </Setter.Value> |
| </Setter> |
| </Setter> |
| </Style> |
| </Style> |
| </ResourceDictionary> |
| </ResourceDictionary> |