Browse Source

Fix TabControl.

pull/58/head
Steven Kirk 11 years ago
parent
commit
41e6bc9a5e
  1. 2
      Perspex.Themes.Default/TabControlStyle.cs

2
Perspex.Themes.Default/TabControlStyle.cs

@ -57,7 +57,7 @@ namespace Perspex.Themes.Default
new DataTemplate<TabItem>(x => control.MaterializeDataTemplate(x.Content)),
},
[~Deck.ItemsProperty] = control[~TabControl.ItemsProperty],
[~Deck.SelectedItemProperty] = control[~TabControl.SelectedItemProperty],
[!Deck.SelectedItemProperty] = control[!TabControl.SelectedItemProperty],
[~Deck.TransitionProperty] = control[~TabControl.TransitionProperty],
[Grid.RowProperty] = 1,
}

Loading…
Cancel
Save