I have developed an Text Box with XAML code, but now i need to convert it in to C# Code; but I'm not familiar with it. So, Hereby I am sharing my code, and i request you all to convert it into C# code;
My XAML Code;
<TextBox Name="txt1" Height="72" Width="130" Margin="193,3,0,0" InputScope="Number" MaxLength="3"/>
<TextBox Name="txt2" Height="72" Width="130" Margin="193,68,0,0" InputScope="Number" MaxLength="3"/>
I created TextBox by c# code TextBox txt1 = new TextBox(). But i dunno how to create textbox with above XAML TextBox Properties.