HorizontalAlignment

HorizontalAlignment serializable

System. Windows .Forms (system. windows .forms.dll) enum

This enumeration is used by most of the Control classes to specify how particular parts of their imagery should be positioned (e.g., the TextBox.TextAlign property).

Note that this enumeration uses Left , Center , and Right rather than the usual Near , Center , and Far , but the Control objects still honor the setting for Control.RightToLeft . So, if you set Left , but also RightToLeft.Yes , the element will actually be aligned to the right.

 public enum  HorizontalAlignment  {  Left = 0  ,  Right = 1  ,  Center = 2  } 

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable , System.IConvertible) HorizontalAlignment

Returned By

ColumnHeader.TextAlign , Control.{RtlTranslateAlignment() , RtlTranslateHorizontal()} , DataGridColumnStyle.Alignment , RichTextBox.SelectionAlignment , StatusBarPanel.Alignment , TextBox.TextAlign , UpDownBase.TextAlign

Passed To

ColumnHeader.TextAlign , Control.{RtlTranslateAlignment() , RtlTranslateHorizontal()} , DataGridColumnStyle.Alignment , ColumnHeaderCollection.{Add() , Insert()} , RichTextBox.SelectionAlignment , StatusBarPanel.Alignment , TextBox.TextAlign , UpDownBase.TextAlign



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net