Skip to content
Browse files

Sync up silverlight demo

  • Loading branch information...
1 parent 414fa1a commit fb925ccfa2c24de9b3fa46aa5c4078d82294527b @jschementi committed
Showing with 26 additions and 5 deletions.
  1. +26 −5 Schementi.Controls.Demos.Sparkline.Silverlight/MainPage.xaml
View
31 Schementi.Controls.Demos.Sparkline.Silverlight/MainPage.xaml
@@ -1,10 +1,11 @@
<UserControl x:Class="Schementi.Controls.Demos.Sparkline.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
- xmlns:schementi="clr-namespace:Schementi.Controls;assembly=Schementi.Controls.Sparkline" mc:Ignorable="d"
+ xmlns:schementi="clr-namespace:Schementi.Controls;assembly=Schementi.Controls.Sparkline"
+ xmlns:sdk="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
+ mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="400">
<Grid Background="Black" x:Name="LayoutRoot">
@@ -18,8 +19,28 @@
<ColumnDefinition Width="3"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
- <schementi:Sparkline Margin="0 1"
- Foreground="#FFEEEEEE" />
+
+ <Grid>
+ <Grid.RowDefinitions>
+ <RowDefinition Height="Auto" />
+ <RowDefinition/>
+ </Grid.RowDefinitions>
+ <Rectangle Fill="#22FFFFFF"/>
+ <TextBlock Text="sell orders" FontSize="{Binding ActualHeight, ElementName=HeightElement}" Foreground="#DDFFFFFF" HorizontalAlignment="Left" VerticalAlignment="Center" />
+ <Grid VerticalAlignment="Stretch" Grid.Row="1">
+ <Grid.RowDefinitions>
+ <RowDefinition Height="1*"/>
+ <RowDefinition Height="4*"/>
+ <RowDefinition Height="1*"/>
+ <RowDefinition Height="0.5*"/>
+ </Grid.RowDefinitions>
+ <Rectangle Fill="#22FFFFFF" />
+ <schementi:Sparkline Grid.RowSpan="4"
+ Margin="0 1"
+ Foreground="#FFEEEEEE" />
+ <Rectangle x:Name="HeightElement" Grid.Row="3"/>
+ </Grid>
+ </Grid>
<schementi:Sparkline Grid.Column="0" Grid.Row="2" Margin="0 2"
Foreground="#FFEEEEEE"
PointFill="White" PointRadius="1"/>

0 comments on commit fb925cc

Please sign in to comment.
Something went wrong with that request. Please try again.