public void Initialize(object source, NUIApplicationInitEventArgs e)
{
- Stage stage = Stage.Instance;
- stage.BackgroundColor = Color.White;
+ Window window = Window.Instance;
+ window.BackgroundColor = Color.White;
TableView contentLayout = new TableView(4, 1);
contentLayout.Name = ("ContentLayout");
contentLayout.SetCellPadding(new Size2D(0, 5));
contentLayout.BackgroundColor = new Color(0.949f, 0.949f, 0.949f, 1.0f);
- stage.GetDefaultLayer().Add(contentLayout);
+ window.GetDefaultLayer().Add(contentLayout);
_title = new TextLabel("Visuals Example");
_title.Name = "Title";