Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. <Style x:Key="ListViewItemStyleClocks" TargetType="ListViewItem">
  2. <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}"/>
  3. <Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}"/>
  4. <Setter Property="Background" Value="Transparent"/>
  5. <Setter Property="TabNavigation" Value="Local"/>
  6. <Setter Property="IsHoldingEnabled" Value="True"/>
  7. <Setter Property="Margin" Value="0,0,18,2"/>
  8. <Setter Property="HorizontalContentAlignment" Value="Left"/>
  9. <Setter Property="VerticalContentAlignment" Value="Top"/>
  10. <Setter Property="Template">
  11. <Setter.Value>
  12. <ControlTemplate TargetType="ListViewItem">
  13. <ListViewItemPresenter Foreground="{Binding TextBrush}"
  14. CheckHintBrush="{ThemeResource TransparentBrush}"
  15. CheckBrush="{ThemeResource TransparentBrush}"
  16. ContentMargin="4"
  17. ContentTransitions="{TemplateBinding ContentTransitions}"
  18. CheckSelectingBrush="{ThemeResource TransparentBrush}"
  19. DragForeground="{Binding SelectBrush}"
  20. DragOpacity="{ThemeResource ListViewItemDragThemeOpacity}"
  21. DragBackground="{StaticResource TransparentBrush}"
  22. DisabledOpacity="{ThemeResource ListViewItemDisabledThemeOpacity}"
  23. FocusBorderBrush="{StaticResource TransparentBrush}"
  24. HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
  25. Padding="{TemplateBinding Padding}"
  26. PointerOverBackgroundMargin="1"
  27. ReorderHintOffset="{ThemeResource ListViewItemReorderHintThemeOffset}"
  28. PlaceholderBackground="{Binding SelectBrush}"
  29. SelectedPointerOverBorderBrush="{Binding SelectBrush}"
  30. PointerOverBackground="{ThemeResource ListViewItemPointerOverBackgroundThemeBrush}"
  31. SelectedPointerOverBackground="{ThemeResource ListViewItemPointerOverBackgroundThemeBrush}"
  32. SelectedBorderThickness="{StaticResource ListViewItemBorderThemeThicknessZero}"
  33. SelectedForeground="{Binding HighlightBrush}"
  34. SelectedBackground="Transparent"
  35. SelectionCheckMarkVisualEnabled="False"
  36. VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" />
  37. </ControlTemplate>
  38. </Setter.Value>
  39. </Setter>
  40. </Style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement