<phone:PhoneApplicationPage x:Class="XAMLFinance.InstrumentDetailsPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone" xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:view="clr-namespace:XAMLFinance.View" xmlns:ctrls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls" FontFamily="{StaticResource PhoneFontFamilyNormal}" FontSize="{StaticResource PhoneFontSizeNormal}" Foreground="{StaticResource PhoneForegroundBrush}" SupportedOrientations="PortraitOrLandscape" Orientation="Portrait" d:DataContext="{d:DesignData Source=../../Common/XAMLFinanceApp/View/InstrumentDetailsViewDesignData.xml}" mc:Ignorable="d" d:DesignHeight="728" d:DesignWidth="480" shell:SystemTray.IsVisible="False"> <!--LayoutRoot is the root grid where all page content is placed--> <Grid x:Name="LayoutRoot" Background="Black"> <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <ctrls:Pivot SelectedIndex="0" x:Name="pivot" SelectionChanged="Pivot_SelectionChanged"> <ctrls:Pivot.Title> <StackPanel Orientation="Horizontal"> <TextBlock Text="XAML Finance - "/> <TextBlock Text="{Binding Path=PriceViewModel.Instrument}"/> </StackPanel> </ctrls:Pivot.Title> <ctrls:PivotItem Header="Market"> <view:InstrumentDetailsPivotPage/> </ctrls:PivotItem> <ctrls:PivotItem Header="Summary"> <view:InstrumentDetailSummaryPivotPage/> </ctrls:PivotItem> <ctrls:PivotItem Header="Chart"> <!-- the content for this page is reasonably slow to load, so we set the content only at the point when it is slid into view--> <Grid x:Name="chartContainer"> <TextBlock Text="Loading ..." FontSize="15"/> </Grid> </ctrls:PivotItem> </ctrls:Pivot> </Grid> </Grid> <phone:PhoneApplicationPage.ApplicationBar> <shell:ApplicationBar IsVisible="True" IsMenuEnabled="False" BackgroundColor="Black"> <shell:ApplicationBarIconButton IconUri="/addFavourite.png" Text="Add to Favourites" Click="FavouriteButton_Click"> </shell:ApplicationBarIconButton> </shell:ApplicationBar> </phone:PhoneApplicationPage.ApplicationBar> </phone:PhoneApplicationPage>
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)