Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Style x:Key="ListViewItemStyleClocks" TargetType="ListViewItem">
- <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}"/>
- <Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}"/>
- <Setter Property="Background" Value="Transparent"/>
- <Setter Property="TabNavigation" Value="Local"/>
- <Setter Property="IsHoldingEnabled" Value="True"/>
- <Setter Property="Margin" Value="0,0,18,2"/>
- <Setter Property="HorizontalContentAlignment" Value="Left"/>
- <Setter Property="VerticalContentAlignment" Value="Top"/>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="ListViewItem">
- <ListViewItemPresenter Foreground="{Binding TextBrush}"
- CheckHintBrush="{ThemeResource TransparentBrush}"
- CheckBrush="{ThemeResource TransparentBrush}"
- ContentMargin="4"
- ContentTransitions="{TemplateBinding ContentTransitions}"
- CheckSelectingBrush="{ThemeResource TransparentBrush}"
- DragForeground="{Binding SelectBrush}"
- DragOpacity="{ThemeResource ListViewItemDragThemeOpacity}"
- DragBackground="{StaticResource TransparentBrush}"
- DisabledOpacity="{ThemeResource ListViewItemDisabledThemeOpacity}"
- FocusBorderBrush="{StaticResource TransparentBrush}"
- HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
- Padding="{TemplateBinding Padding}"
- PointerOverBackgroundMargin="1"
- ReorderHintOffset="{ThemeResource ListViewItemReorderHintThemeOffset}"
- PlaceholderBackground="{Binding SelectBrush}"
- SelectedPointerOverBorderBrush="{Binding SelectBrush}"
- PointerOverBackground="{ThemeResource ListViewItemPointerOverBackgroundThemeBrush}"
- SelectedPointerOverBackground="{ThemeResource ListViewItemPointerOverBackgroundThemeBrush}"
- SelectedBorderThickness="{StaticResource ListViewItemBorderThemeThicknessZero}"
- SelectedForeground="{Binding HighlightBrush}"
- SelectedBackground="Transparent"
- SelectionCheckMarkVisualEnabled="False"
- VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" />
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement