|
|
|
@ -6,6 +6,7 @@ |
|
|
|
xmlns:sys="clr-namespace:System;assembly=mscorlib" |
|
|
|
xmlns:sys="clr-namespace:System;assembly=mscorlib" |
|
|
|
xmlns:conv="clr-namespace:MultiTerm.Wpf.ValueConverters" |
|
|
|
xmlns:conv="clr-namespace:MultiTerm.Wpf.ValueConverters" |
|
|
|
xmlns:controls="clr-namespace:MultiTerm.Wpf.Controls" |
|
|
|
xmlns:controls="clr-namespace:MultiTerm.Wpf.Controls" |
|
|
|
|
|
|
|
xmlns:custom_controls="clr-namespace:MultiTerm.Wpf.CustomControl;assembly=MultiTerm.Wpf.CustomControl" |
|
|
|
xmlns:vm="clr-namespace:MultiTerm.Core.ViewModel;assembly=MultiTerm.Core" |
|
|
|
xmlns:vm="clr-namespace:MultiTerm.Core.ViewModel;assembly=MultiTerm.Core" |
|
|
|
xmlns:v="clr-namespace:MultiTerm.Wpf.View" |
|
|
|
xmlns:v="clr-namespace:MultiTerm.Wpf.View" |
|
|
|
xmlns:core_common="clr-namespace:MultiTerm.Core.Common;assembly=MultiTerm.Core" |
|
|
|
xmlns:core_common="clr-namespace:MultiTerm.Core.Common;assembly=MultiTerm.Core" |
|
|
|
@ -125,13 +126,13 @@ |
|
|
|
<RibbonSeparator/> |
|
|
|
<RibbonSeparator/> |
|
|
|
</RibbonMenuButton>--> |
|
|
|
</RibbonMenuButton>--> |
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
<TabControl DockPanel.Dock="Right" |
|
|
|
<custom_controls:ExtendedTabControl DockPanel.Dock="Right" |
|
|
|
x:Name="terminalTabControl" |
|
|
|
x:Name="terminalTabControl" |
|
|
|
ItemsSource="{Binding TerminalViewModels}" |
|
|
|
ItemsSource="{Binding TerminalViewModels}" |
|
|
|
SelectedItem="{Binding SelectedTerminalViewModel}"> |
|
|
|
SelectedItem="{Binding SelectedTerminalViewModel}"> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Tab Template --> |
|
|
|
<!-- Tab Template --> |
|
|
|
<TabControl.ItemTemplate> |
|
|
|
<custom_controls:ExtendedTabControl.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="{Binding Title, Mode=OneWay}" /> |
|
|
|
<TextBlock Text="{Binding Title, Mode=OneWay}" /> |
|
|
|
@ -146,14 +147,14 @@ |
|
|
|
</Button> |
|
|
|
</Button> |
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
</DataTemplate> |
|
|
|
</DataTemplate> |
|
|
|
</TabControl.ItemTemplate> |
|
|
|
</custom_controls:ExtendedTabControl.ItemTemplate> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Register additional Tab ViewModels here --> |
|
|
|
<!-- Register additional Tab ViewModels here --> |
|
|
|
<TabControl.Resources> |
|
|
|
<custom_controls:ExtendedTabControl.Resources> |
|
|
|
<DataTemplate DataType="{x:Type vm:SendReceiveViewModel}"> |
|
|
|
<DataTemplate DataType="{x:Type vm:SendReceiveViewModel}"> |
|
|
|
<v:SendReceiveView/> |
|
|
|
<v:SendReceiveView/> |
|
|
|
</DataTemplate> |
|
|
|
</DataTemplate> |
|
|
|
</TabControl.Resources> |
|
|
|
</custom_controls:ExtendedTabControl.Resources> |
|
|
|
</TabControl> |
|
|
|
</custom_controls:ExtendedTabControl> |
|
|
|
</DockPanel> |
|
|
|
</DockPanel> |
|
|
|
</UserControl> |
|
|
|
</UserControl> |
|
|
|
|