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 7506567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:18:39+00:00 2026-05-29T22:18:39+00:00

I am developing an application where i want to browse images like native WindowsPhone

  • 0

I am developing an application where i want to browse images like native WindowsPhone form.

I have used Pivot control. Everything works, but there is one unwanted thing. The image does not fill all display area. There is a gap on the top of page. I have set margin and padding everywhere where it is possible. And the result is still the same. 🙁

Captured example

Here is my XAML code:

<!--LayoutRoot is the root grid where all page content is placed-->
<Grid 
    x:Name="LayoutRoot" 
    Background="Transparent" 
    Margin="0">
    <toolkit:PerformanceProgressBar 
        VerticalAlignment="Top"
        HorizontalAlignment="Left"
        IsIndeterminate="{Binding IsBusy}"
        Visibility="{Binding IsBusy, Converter={StaticResource BoolToVisibilityConverter}}"            
        />

    <controls:Pivot
        x:Name="PhotoPivot"
        ScrollViewer.HorizontalScrollBarVisibility="Auto"
        IsHitTestVisible="True"
        ItemsSource="{Binding Photos}"
        Margin="0"
        Padding="0"                 
        >
        <controls:Pivot.HeaderTemplate>             
            <DataTemplate/>
        </controls:Pivot.HeaderTemplate>

        <controls:Pivot.ItemTemplate>
            <DataTemplate >
                <controls:PivotItem
                    x:Name="PhotoPivotItem"
                    Margin="0"                        
                    >
                    <Image
                        x:Name="PhotoPicture"
                        Source="{Binding}"
                        Stretch="Uniform"
                        HorizontalAlignment="Stretch"
                        VerticalAlignment="Stretch" 
                        Margin="0"
                        />
                </controls:PivotItem>
            </DataTemplate>
        </controls:Pivot.ItemTemplate>

    </controls:Pivot>
</Grid>

  • 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-05-29T22:18:41+00:00Added an answer on May 29, 2026 at 10:18 pm

    Are you talking about the system tray?
    To remove the system tray use the following code:

    shell:SystemTray.IsVisible="False"
    

    Update:

    I’m not real sure why that extra space is there.
    I created a simplified version of your example and the only thing I could think of is to use negative margins. There is probably a better solution that I am just overlooking, but for now you can just use the following:

    <controls:PivotItem x:Name="PhotoPivotItem" Margin="0,-10,0,0">
    

    Although, from your posted image, it looks as if you have a bigger gap than I did, so you might need to decrease the margin.

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

Sidebar

Related Questions

I'm developing a web application I want to use the role authentication to control
I'm developing an application in which I want to check like to which power
I am developing a windows application and I want to add a browse button
I am currently developing an application where I want to be able to have
I am developing a music application.I want song list that on a long click
I developing an application in which i want to print the values on a
I am developing an application in which I want to record the sound of
I'm developing a Silverlight application where I want to simulate a console. There are
I am developing an application in which I want to use push notification service.
I'm developing an application in WPF and I want to know how to begin

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.