Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8941403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:17:31+00:00 2026-06-15T11:17:31+00:00

I have this pivot control : <ScrollViewer Margin=0,104,0,229 HorizontalAlignment=Left> <Grid Height=800 Width=468> <phone:Pivot ItemsSource={Binding

  • 0

I have this pivot control :

<ScrollViewer Margin="0,104,0,229" HorizontalAlignment="Left">
        <Grid Height="800" Width="468">
            <phone:Pivot ItemsSource="{Binding DocumentHeaderItemsSearch}">
                <phone:Pivot.HeaderTemplate>
                    <DataTemplate>
                        <TextBlock x:Name="ProcessName" Text="{Binding ProcessName}" TextWrapping="Wrap" Style="{StaticResource PhoneTextExtraLargeStyle}" FontSize="48" Margin="2,20,2,2" FontWeight="Bold"/>
                    </DataTemplate>
                </phone:Pivot.HeaderTemplate>      

                <phone:Pivot.ItemTemplate>                   
                    <DataTemplate>                          
                            <Grid x:Name="Content"  Grid.Row="0" Margin="0,-35,0,0">
                            <Viewbox x:Name="viewboxHeader"  Tag="0">
                                <Grid Height="80" Width="436">
                                    <Canvas Background="{Binding Urgency, Converter={StaticResource converttocolor}}" Margin="0,0,409,0">
                                        <TextBlock TextWrapping="Wrap" Text="{Binding Duration}" Foreground="Black" RenderTransformOrigin="0.5,0.5" FontSize="{StaticResource PhoneFontSizeNormal}"  Canvas.Top="25" UseLayoutRounding="False" d:LayoutRounding="Auto" TextAlignment="Center" FontWeight="Bold" Width="80" Height="28" Canvas.Left="-26" HorizontalAlignment="Center" VerticalAlignment="Center" >
                                            <TextBlock.RenderTransform>
                                                <CompositeTransform Rotation="-90"/>
                                            </TextBlock.RenderTransform>
                                        </TextBlock>
                                    </Canvas>
                                    <TextBlock TextWrapping="Wrap" Text="{Binding DocDesc}" Foreground="White" Margin="31,4,0,44" FontSize="{StaticResource PhoneFontSizeMediumLarge}" FontFamily="{StaticResource PhoneFontFamilyBold}"/>
                                    <TextBlock TextWrapping="Wrap" Text="{Binding Originator}" Margin="31,44,167,4" FontSize="{StaticResource PhoneFontSizeNormal}" Foreground="White" FontFamily="{StaticResource PhoneFontFamilySemiLight}"/>
                                    <TextBlock TextWrapping="Wrap" Text="{Binding DocDate, Converter={StaticResource convertshortdate}}" Margin="277,44,0,4" FontSize="{StaticResource PhoneFontSizeNormal}" Foreground="White" FontFamily="{StaticResource PhoneFontFamilySemiLight}" HorizontalAlignment="Right"/>
                                </Grid>
                            </Viewbox>
                        </Grid>                         
                    </DataTemplate>
                </phone:Pivot.ItemTemplate>

            </phone:Pivot>  

        </Grid>


    </ScrollViewer>

so here is the result I get when I run the app and use search function :

enter image description here

How am I going to get that Object that shows the result to show just right under the that pivot item heading “76”?

I am using visual studio 2012, c#, silverlight, windows phone 8, and i am using a pivot control here for the results

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T11:17:32+00:00Added an answer on June 15, 2026 at 11:17 am

    Does changing the top level item in the DataTemplate to a StackPanel does that? Or does Setting the Grid’s VerticalContentAlignment=Top and setting VerticalAlignment=Top/Stretch work? You can either be greedy and use all the space in the PivotItem.ItemTemplate while aligning top, or be proactively space conscious and align to top.

    Also, during your tests you should consider dropping the top level Grid margin property as it might be specifying to the XAML parser you want the Grid to take up all the space in the ItemTemplate.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: How can i made a pivot for this I have a table
I have query to show the table like this: but I want to PIVOT
I have a problem with Pivot control. How can I insert xaml page with
I have a list on images in a Pivot control. If you touch an
I have made a calendar control based on the pivot control. Every pivot item
basically I have a pivot control in my WP7 app that contains 3 views.
I have a pivot control and a button which does selectedIndex++ and when the
I want to create a wizard control from the pivot control. To achieve this
I have a Pivot which contains a WebBrowser control that practically takes up the
In a Windows Phone 7 page I have the following control: <controls:Pivot x:Name=Pivoter Title={Binding

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.