Cómo agregar control de cuadro de texto dinámicamente en tiempo de ejecución en WPF usando c #

Soy nuevo en WPF. Quiero crear 3 cuadros de texto para cada fila en tiempo de ejecución cuando hago clic en el botón generar. por favor, ayúdame.

Cuadro de texto creado automáticamente

 **Code behind** 
  private List<TextBox> inputTextBoxes;
    private void btnGenerate_Click(object sender, RoutedEventArgs e)
    {
        //Get the number of input text boxes to generate
        int inputNumber = Int32.Parse(textBoxInput.Text);

        //Initialize list of input text boxes
        inputTextBoxes = new List<TextBox>();

        //Generate labels and text boxes
        for (int i = 1; i <= inputNumber; i++)
        {
            //Create a new label and text box
            Label labelInput = new Label();
            TextBox textBoxNewInput = new TextBox();
        }
    }

Respuestas a la pregunta(2)

Su respuesta a la pregunta