Sparat innan resan
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
xmlns:nav="clr-namespace:OemanTrader.WPF.State.Navigators" d:DataContext="{d:DesignInstance Type=nav:Navigator}"
|
||||
xmlns:vm="clr-namespace:OemanTrader.WPF.ViewModels"
|
||||
xmlns:converters="clr-namespace:OemanTrader.WPF.Converters"
|
||||
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<UserControl.Resources>
|
||||
@ -29,7 +30,9 @@
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<RadioButton Grid.Column="0" Content="Home" IsChecked="{Binding CurrentViewModel, Converter={StaticResource EqualValueToParameterConverter}, ConverterParameter={x:Type vm:HomeViewModel}}"
|
||||
<RadioButton Grid.Column="0" Content="Home" IsChecked="{Binding CurrentViewModel,
|
||||
Converter={StaticResource EqualValueToParameterConverter},
|
||||
ConverterParameter={x:Type vm:HomeViewModel}}"
|
||||
Command="{Binding UpdateCurrentViewModelCommand}"
|
||||
CommandParameter="{x:Static nav:ViewType.Home}" />
|
||||
<RadioButton Grid.Column="1" Content="Portfolio" Command="{Binding UpdateCurrentViewModelCommand}" CommandParameter="{x:Static nav:ViewType.Portfolio}" />
|
||||
|
||||
Reference in New Issue
Block a user