diff options
author | Vitaly Takmazov | 2013-04-03 05:03:20 +0400 |
---|---|---|
committer | Vitaly Takmazov | 2013-04-03 05:03:20 +0400 |
commit | 151e56ec2e3466389804b8874b4224bf6bd08097 (patch) | |
tree | 4b2c07be26036e470afba1f399619c8d64ae8216 /Juick/MainPage.xaml | |
parent | 4959050e7996e92ac97f4d05064130251a0628c5 (diff) |
New pages, LoginViewModel, Validation (in progress)
Diffstat (limited to 'Juick/MainPage.xaml')
-rw-r--r-- | Juick/MainPage.xaml | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/Juick/MainPage.xaml b/Juick/MainPage.xaml index 2e40d0f..45e1ff9 100644 --- a/Juick/MainPage.xaml +++ b/Juick/MainPage.xaml @@ -22,14 +22,19 @@ <RowDefinition Height="*" />
</Grid.RowDefinitions>
- <controls:Pivot Title="juick" Grid.Row="1">
- <controls:PivotItem Header="My feed" Margin="0, -5, 0, 0">
- <usercontrols:MessageList x:Name="Home" />
- </controls:PivotItem>
- <controls:PivotItem Header="Last" Margin="0, -5, 0, 0">
- <usercontrols:MessageList x:Name="Last"/>
- </controls:PivotItem>
+ <controls:Pivot x:Name="Pages" Title="juick" Grid.Row="1" ItemsSource="{Binding Pages}">
+ <controls:Pivot.HeaderTemplate>
+ <DataTemplate>
+ <TextBlock Text="{Binding Caption}"></TextBlock>
+ </DataTemplate>
+ </controls:Pivot.HeaderTemplate>
+ <controls:Pivot.ItemTemplate>
+ <DataTemplate>
+ <usercontrols:MessageList />
+ </DataTemplate>
+ </controls:Pivot.ItemTemplate>
</controls:Pivot>
+
</Grid>
<phone:PhoneApplicationPage.ApplicationBar>
<phoneshell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
|