Windows Phone 8.1 Layout controls

Source: Internet
Author: User

Layout Controls (4 first types)

Grid: equivalent to the table tag in HTML , but note that table is more important to show the data, and Grids are specifically designed for layout

Attribute Tags:

Grid.rowdefinitions: Row definition, Element type rowdefinition, required attribute Height

Grid.columndefinitions: Column definition, element type columndefinition, required attribute Width

The Width and Height properties are in pixels, with two special values "*", "auto"

Common additional properties:

Grid.Row: Defines the line number that appears for the current element

Grid.column : Defines the column number that appears for the current element

Grid.rowspan : Defines the number of rows spanned by the current element

Grid.columnspan: Defines the number of columns that the current element spans

Example Introduction

The following is the design of the button property for the calculator.

Windows Phone 8.1 Layout controls

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.