PageRenderTime 17ms CodeModel.GetById 13ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/V1/trunk/Source/StockTraderRI/StockTraderRI.Modules.Position/PositionSummary/PositionSummaryView.xaml

#
XAML | 31 lines | 31 code | 0 blank | 0 comment | 0 complexity | 0a0e57595f6db5c29774de8440a87095 MD5 | raw file
 1<UserControl x:Class="StockTraderRI.Modules.Position.PositionSummary.PositionSummaryView"
 2    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4    xmlns:local="clr-namespace:StockTraderRI.Modules.Position"
 5    xmlns:chartControls="clr-namespace:StockTraderRI.ChartControls;assembly=StockTraderRI.ChartControls">
 6    <Grid>
 7        <Grid.RowDefinitions>
 8            <RowDefinition Height="*" ></RowDefinition>
 9            <RowDefinition Height="2*"></RowDefinition>
10        </Grid.RowDefinitions>
11        <Grid.ColumnDefinitions>
12            <ColumnDefinition />
13            <ColumnDefinition />
14        </Grid.ColumnDefinitions>
15        <local:PositionGrid x:Name="positionGrid" Grid.Row="0" Grid.ColumnSpan="2"></local:PositionGrid>
16        <Grid Grid.Row="1" Grid.Column="0" Margin="10,10,10,10">
17            <Grid.RowDefinitions>
18                <RowDefinition Height="Auto"/>
19                <RowDefinition Height="Auto"/>
20            </Grid.RowDefinitions>
21            <Rectangle Fill="#FF77B6EB" Stroke="{x:Null}" RadiusX="8" RadiusY="8" Height="25"/>
22            <TextBlock Margin="40,7,0,0" FontFamily="Franklin Gothic" FontSize="14" FontWeight="Normal" Foreground="#FFFFFFFF" Text="PIE CHART" TextAlignment="Left" TextWrapping="Wrap" HorizontalAlignment="Left"  />
23            <Grid Margin="15,5,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="15.031" Height="15.055">
24			    <Ellipse Margin="0,0,0.031,0.055" Fill="{x:Null}" Stroke="#FFFFFFFF" StrokeThickness="2"/>
25			    <Path Margin="6.531,6.43,0,0" Fill="{x:Null}" Stretch="Fill" Stroke="#FFFFFFFF" StrokeThickness="2" Data="M66.625,440 L60.125,440 60.125,446.625"/>
26		    </Grid>
27            <chartControls:PieChart Grid.Row="1" x:Name="pieChart" ValuePath="MarketValue" LabelPath="TickerSymbol" Title="" Height="200"></chartControls:PieChart>
28        </Grid>
29        <StackPanel Grid.Row="1" Grid.Column="1" x:Name="lineChartPanel"></StackPanel>
30    </Grid>
31</UserControl>