Return to site

Grid 1 vs grid 2

broken image

To start creating a layout, open MainPage.xaml by using the Solution Explorer, and replace the automatically generated Grid element with this code. Rows and columns are defined with the RowDefinition and ColumnDefinition elements. By specifying the row and column of an element within a Grid, you can place and space other elements within a user interface. In XAML a Grid is made up of a series of rows and columns.

broken image

If you don't have that yet, click here to learn how to create a 'Hello World' app. (Newest Visual Studio recommended for current development and security updates) Click here to learn how to get set up with Visual Studio. Important APIs: Grid class, StackPanel class Prerequisites With these tools you can make great looking apps that work on any device running Windows 10.

broken image

Use XAML to create the layout for a simple weather app using the Grid and StackPanel elements. Tutorial: Use Grid and StackPanel to create a simple weather app