Tuesday, May 31, 2011 7:34 PM
I have a simple form with two textboxes with labels on left hand side, then going down vertically a label and right under the label a listview.
I tried several different things including margins and grid and grid.rows but no luck, the elements keep getting chopped off. Whats the best way to do it ?
Also do you know any Jumpstart tutorial of XAML ? I expected XAML to be as simple as HTML in layouts
Tuesday, May 31, 2011 7:44 PMWhat is the problem. TextBob Label or Listview or all?
Tuesday, May 31, 2011 7:50 PMBest way is to use a grid with column and row definitions. Assign your controls the row and columns appropriately. Remember you can use ColumnSpan and RowSpan as well to go across multiples. Also, don't specify widths or heights for your controls, they will autosize with the grid.
Tuesday, May 31, 2011 7:55 PMOr use StackPanel and Wrappanels instead of Grid
- Marked As Answer by Fahad349 Tuesday, May 31, 2011 7:56 PM
Wednesday, June 01, 2011 2:14 AMModerator
Min Zhu [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Marked As Answer by Fahad349 Wednesday, June 01, 2011 12:32 PM