How to right-align a TextBox on loading a form using WinForms in C#

1 Answer

0 votes
namespace WinFormsApp1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();

            textBox1.TextAlign = HorizontalAlignment.Right;
        }
    }
}



/*
run:
 


*/

 



answered Jul 9 by avibootz
...