top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

In windows phone StackPanel Vs Grid Vs Canvas Vs WrapPanel?

+3 votes
513 views
In windows phone StackPanel Vs Grid Vs Canvas Vs WrapPanel?
posted Dec 12, 2014 by Puhal

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

StackPanel:

The StackPanel is a simple layout panel that arranges its child elements into a single line that can be oriented horizontally or vertically.

Grid:

The Grid control is the most flexible layout panel, and supports arranging controls in multi-row and multi-column layouts.

Canvas:

Canvas is useful for scenarios where the UI elements contained within it never move.

WrapPanel or WrapGrid :

Positions child elements sequentially from left to right or top to bottom. When elements extend beyond the container edge, elements are positioned in the next row or column. In Windows Phone 8, consider using the WrapPanel available in the Windows Phone Toolkit.

answer Dec 15, 2014 by Jdk
...