Positioning text

 mainWindow = new Window();
            mainWindow.Height = SystemMetrics.ScreenHeight;
            mainWindow.Width = SystemMetrics.ScreenWidth;
          
            // Create a single text control.
            text = new Text();

            text.ForeColor= Colors.Red;

How do you position the text at a certain position on the screen say at (200,153)…I see parameters to do center alignment, etc, but not a certain position

You need to create a Canvas and put the text element inside the canvas.

[quote]Canvas Class
Defines an area, or canvas, within which you can explicitly position child elements by using coordinates that are relative to the upper-left corner of the canvas.[/quote]