Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Wire up the Star button read-only atm

  • Loading branch information...
commit 4ee7d219b1f684f91f7a29e0249a064274ae3275 1 parent 68dad0b
Paul Betts paulcbetts authored

Showing 1 changed file with 6 additions and 6 deletions. Show diff stats Hide diff stats

  1. +6 6 Play/Views/SongTileView.xaml
12 Play/Views/SongTileView.xaml
@@ -31,24 +31,24 @@
31 31 </StackPanel>
32 32
33 33 <StackPanel Orientation="Vertical" Margin="8" Grid.Column="3">
34   - <local:FadeImageButton Margin="4">
35   - <local:FadeImageButton.Content>
  34 + <local:FadeImageToggleButton Margin="4" IsChecked="{Binding Path=Model.starred, Mode=OneWay}">
  35 + <local:FadeImageToggleButton.Content>
36 36 <Canvas Background="#01888888" Width="16" Height="15">
37 37 <Viewbox>
38 38 <Path Fill="{DynamicResource ButtonNormalForeground}"
39 39 Data=" M 8.000,0.000 L 9.931,5.484 L 16.000,5.730 L 11.530,9.420 L 12.940,15.000 L 8.000,11.951 L 3.050,15.000 L 4.460,9.420 L 0.000,5.730 L 5.822,5.516 L 8.000,0.000 Z"/>
40 40 </Viewbox>
41 41 </Canvas>
42   - </local:FadeImageButton.Content>
43   - <local:FadeImageButton.HighlightContent>
  42 + </local:FadeImageToggleButton.Content>
  43 + <local:FadeImageToggleButton.HighlightContent>
44 44 <Canvas Background="#01888888" Width="16" Height="15">
45 45 <Viewbox>
46 46 <Path Fill="{DynamicResource HighlightGradientBrush}"
47 47 Data=" M 8.000,0.000 L 9.931,5.484 L 16.000,5.730 L 11.530,9.420 L 12.940,15.000 L 8.000,11.951 L 3.050,15.000 L 4.460,9.420 L 0.000,5.730 L 5.822,5.516 L 8.000,0.000 Z"/>
48 48 </Viewbox>
49 49 </Canvas>
50   - </local:FadeImageButton.HighlightContent>
51   - </local:FadeImageButton>
  50 + </local:FadeImageToggleButton.HighlightContent>
  51 + </local:FadeImageToggleButton>
52 52
53 53 <local:FadeImageButton Margin="4">
54 54 <local:FadeImageButton.Content>

0 comments on commit 4ee7d21

Please sign in to comment.
Something went wrong with that request. Please try again.