<Label x:Name="label1">Hello, WPF!</Label>
Label myLabel = new Label(); myLabel.Content = "Hello, WPF"; grid1.Children.Add(myLabel);
Alignment
properties in combination
with Margin
to position elements in a panel
Width
and Height
of elements
to Auto
whenever possible
Auto
sized column for the labels and a Star
sized column for the TextBoxes
px
, in
,
cm
, pt
Auto
to use minimum size around content