|
|
|
@ -43,7 +43,7 @@ namespace Perspex.Themes.Default |
|
|
|
new TabStrip |
|
|
|
{ |
|
|
|
Name = "tabStrip", |
|
|
|
[~TabStrip.ItemsProperty] = control[~TabControl.ItemsProperty], |
|
|
|
[!TabStrip.ItemsProperty] = control[!TabControl.ItemsProperty], |
|
|
|
[!!TabStrip.SelectedItemProperty] = control[!!TabControl.SelectedItemProperty], |
|
|
|
}, |
|
|
|
new Deck |
|
|
|
@ -53,7 +53,7 @@ namespace Perspex.Themes.Default |
|
|
|
{ |
|
|
|
new DataTemplate<TabItem>(x => (Control)control.MaterializeDataTemplate(x.Content)), |
|
|
|
}, |
|
|
|
[~Deck.ItemsProperty] = control[~TabControl.ItemsProperty], |
|
|
|
[!Deck.ItemsProperty] = control[!TabControl.ItemsProperty], |
|
|
|
[!Deck.SelectedItemProperty] = control[!TabControl.SelectedItemProperty], |
|
|
|
[~Deck.TransitionProperty] = control[~TabControl.TransitionProperty], |
|
|
|
[Grid.RowProperty] = 1, |
|
|
|
|