// Initialize the Button NewButton = new new the Button (); basic properties // custom button
NewButton.Width = 160;
NewButton.Height = 72;
= NewButton.Content "button" ;
// add content to the page at
ContentPanel.Children.Add(NewButton);
Similarly add other controls