Mercurial > silverbladetech
comparison MetroWpf/Stocks.UI/Views/StocksView.xaml @ 39:4b8b38d17d24 MetroWPF CTP v0.1
Quick tidy up for ctp 0.1 release
author | adminsh@apollo |
---|---|
date | Tue, 03 Apr 2012 15:33:18 +0100 |
parents | 399398841fd0 |
children |
comparison
equal
deleted
inserted
replaced
38:b008faa1baa7 | 39:4b8b38d17d24 |
---|---|
2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | 2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | 3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 xmlns:Converters="clr-namespace:Stocks.UI.Converters" | 4 xmlns:Converters="clr-namespace:Stocks.UI.Converters" |
5 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | 5 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
6 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | 6 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
7 xmlns:ViewModels="clr-namespace:Stocks.UI.ViewModels" | |
7 d:DesignHeight="100" | 8 d:DesignHeight="100" |
8 d:DesignWidth="600" | 9 d:DesignWidth="600" |
9 DataContext="d:DesignInstance vm:StocksViewModel" | 10 d:DataContext="{d:DesignInstance ViewModels:StocksViewModel}" |
10 mc:Ignorable="d"> | 11 mc:Ignorable="d"> |
11 | 12 |
12 <Grid x:Name="LayoutRoot"> | 13 <Grid x:Name="LayoutRoot"> |
13 <Grid.RowDefinitions> | 14 <Grid.RowDefinitions> |
14 <RowDefinition Height="60" /> | 15 <RowDefinition Height="60" /> |
28 <Button x:Name="btnServiceRunning" | 29 <Button x:Name="btnServiceRunning" |
29 Width="100" | 30 Width="100" |
30 Height="30" | 31 Height="30" |
31 Margin="5,0,0,0" | 32 Margin="5,0,0,0" |
32 HorizontalAlignment="Left" | 33 HorizontalAlignment="Left" |
33 Command="{Binding ServiceCommand, | 34 Command="{Binding Path=ServiceCommand, |
34 Mode=TwoWay}" | 35 Mode=TwoWay}" |
35 Content="{Binding ServiceRunning, | 36 Content="{Binding ServiceRunning, |
36 Converter={StaticResource BoolToServiceRunningTextConverter}}" /> | 37 Converter={StaticResource BoolToServiceRunningTextConverter}}" /> |
37 <Button x:Name="btnSubscribe" | 38 <Button x:Name="btnSubscribe" |
38 Width="100" | 39 Width="100" |
39 Height="30" | 40 Height="30" |
40 Margin="10,0,0,0" | 41 Margin="10,0,0,0" |
41 HorizontalAlignment="Left" | 42 HorizontalAlignment="Left" |
42 Command="{Binding SubscriptionCommand, | 43 Command="{Binding Path=SubscriptionCommand, |
43 Mode=TwoWay}" | 44 Mode=TwoWay}" |
44 Content="{Binding Subscribed, | 45 Content="{Binding Subscribed, |
45 Converter={StaticResource BoolToSubscribedTextConverter}}" /> | 46 Converter={StaticResource BoolToSubscribedTextConverter}}" /> |
46 </StackPanel> | 47 </StackPanel> |
47 | 48 |