Skip to content

Commit

Permalink
Merge pull request #343 from stefan-schweiger/patch-1
Browse files Browse the repository at this point in the history
Added keys to ListBox and ListBoxItem
  • Loading branch information
shiftbot committed Feb 11, 2013
2 parents 106cc41 + 07b310b commit 55a6fea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MahApps.Metro/Styles/Controls.ListBox.xaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

<Style TargetType="{x:Type ListBox}">
<Style x:Key="MetroListBox" TargetType="{x:Type ListBox}">
<Setter Property="BorderBrush" Value="Transparent" />
<Setter Property="Template">
<Setter.Value>
Expand All @@ -25,7 +25,7 @@
Value="True" />
</Style>

<Style TargetType="{x:Type ListBoxItem}">
<Style x:Key="MetroListBoxItem" TargetType="{x:Type ListBoxItem}">
<Setter Property="MinHeight" Value="25" />
<Setter Property="Margin" Value="0" />
<Setter Property="Template">
Expand Down Expand Up @@ -77,4 +77,4 @@
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>
</ResourceDictionary>

0 comments on commit 55a6fea

Please sign in to comment.