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

The Archive Base Latest Questions

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

In Windows Store App Split Page template, we can see below XAML code. <!–

  • 0

In Windows Store App Split Page template, we can see below XAML code.

        <!-- Vertical scrolling item list -->
    <ListView
        x:Name="itemListView"
        AutomationProperties.AutomationId="ItemsListView"
        AutomationProperties.Name="Items"
        TabIndex="1"
        Grid.Row="1"
        Margin="-10,-10,0,0"
        Padding="120,0,0,60"
        IsSwipeEnabled="False"
        SelectionChanged="ItemListView_SelectionChanged">

The margin property has -10 leftside value. why Microsoft guys put -10 not 0?

  • 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-17T02:31:59+00:00Added an answer on June 17, 2026 at 2:31 am

    If you set the top margin to zero then the placement of a control is not moved. Similarly, if you set a top margin of positive 10, the placement of the control is down 10 units. Conversely, if you set a top margin of negative 10, the placement is up 10 units.

    Sometimes developers freak when they see negative margins, but they are a very flexible and powerful way to manipulate the position of a control on a canvas. That said, I find that some (all?) of the default templates in Visual Studio for Windows 8 aren’t best practices.

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

Sidebar

Related Questions

I am not experienced in Windows Store (aka Metro) app XAML, so perhaps I
I'm developing a Windows 8 Windows Store app (XAML/C#) in which I have a
Strange one when working in XAML for Windows RT (windows store app) today, when
I was porting some code over to work with a Windows Store App and
In C++/CX Windows App Store, how do we perform string split based on space,
So I have a .NET Windows Store app that is leaking memory. What can
I know you can call Windows Services from a Windows store app as described
Possible Duplicate: Close Button on VS11 Apps How can a Windows Store app close
In a Windows Store app I can only store WinRT types in the ApplicationSettings,
How to get the unique Device in Windows Store App (Metro App)? Can we

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.