|
Este artículo proviene de un motor de traducción automática. Mueva el puntero sobre las frases del artículo para ver el texto original. Más información.
|
Traducción
Original
|
HorizontalAlignment (Enumeración)
Espacio de nombres: System.Windows.Forms
Ensamblado: System.Windows.Forms (en System.Windows.Forms.dll)
private void Form1_Load(object sender, System.EventArgs e) { // Add a text string to the TextBox. textBox1.Text = "Hello World!"; // Set the size of the TextBox. textBox1.AutoSize = false; textBox1.Size = new Size(Width, Height/3); // Align the text in the center of the control element. textBox1.TextAlign = HorizontalAlignment.Center; }
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (no se admite el rol Server Core), Windows Server 2008 R2 (se admite el rol Server Core con SP1 o versiones posteriores; no se admite Itanium)
.NET Framework no admite todas las versiones de todas las plataformas. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.