|
@@ -10,7 +10,7 @@
|
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
|
x:Class="PRS.Avalonia.Modules.EquipmentDetailsView"
|
|
|
x:DataType="modules:EquipmentDetailsViewModel">
|
|
|
- <TabControl Classes="Standard"
|
|
|
+ <TabControl Name="Tab" Classes="Standard"
|
|
|
TabStripPlacement="Bottom"
|
|
|
SelectedIndex="{Binding SelectedTab}">
|
|
|
<TabItem Header="Tasks">
|
|
@@ -25,7 +25,7 @@
|
|
|
<DataTemplate DataType="prs:EquipmentKanbanShell">
|
|
|
<Button Classes="Standard"
|
|
|
Background="Orange"
|
|
|
- Command="{Binding $parent[modules:EquipmentDetailsView].((modules:EquipmentDetailsViewModel)DataContext).EditOpenTaskCommand}"
|
|
|
+ Command="{Binding #Tab.((modules:EquipmentDetailsViewModel)DataContext).EditOpenTaskCommand}"
|
|
|
CommandParameter="{Binding .}"
|
|
|
Content="{Binding Title}"/>
|
|
|
</DataTemplate>
|