I am new in WPF.I want to create 3 textbox for each row at runtime when i click generate button. please help me.
Automatically created textbox
**Code b
I assume your page's content is a Canvas
control:
Code behind:
protected void ButtonGenerate_Click(object sender, RoutedEventArgs e)
{
TextBox tb = new TextBox();
(this.Content as Canvas).Children.Add(tb);
}
You may find other textbox property in https://msdn.microsoft.com/en-us/library/system.windows.controls.textbox(v=vs.110).aspx