Skip to main content
Version: 3.5

HorizontalAlignment

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Specifies how an object or text in a control is horizontally aligned relative to an element of the control.

public enum HorizontalAlignment : Enum

Fields

NameDescription
CenterThe object or text is aligned in the center of the control element.
LeftThe object or text is aligned on the left of the control element.
RightThe object or text is aligned on the right of the control element.

Used By

NameDescription
Control.LayoutChildrenArranges all the child Control using the specified dock style, spaced by spacing pixels.
Control.ScrollControlIntoViewScrolls the control into view in the container using the specified alignX and alignY preferences.
MaskedTextBox.TextAlignReturns or sets how text is aligned in a TextBox control.
Panel.HeaderAlignmentReturns or sets the alignment of the header text in the Panel control.
ScrollableControl.ScrollControlIntoViewScrolls the specified child control into view. using the specified alignX and alignY preferences.
TextBox.TextAlignReturns or sets how text is aligned in a TextBox control.
UpDownBase.TextAlignReturns or sets the alignment of the text in the spin box (also known as an up-down control).
UpDownBase.UpDownAlignReturns or sets the alignment of the up and down buttons on the spin box (also known as an up-down control).
Desktop.TaskbarAlignmentReturn or sets the alignment of the Items in the taskbar.
FlexLayoutPanel.HorizontalAlignDetermines the horizontal alignment of the child controls when LayoutStyle is set to Vertical.
FlexLayoutPanel.GetAlignXDetermines the horizontal alignment of the child control within the panel when LayoutStyle is set to Vertical.
SlideBar.ScrollControlIntoViewScrolls the specified child control into view. using the specified alignX preference.
ColumnHeader.TextAlignReturns or sets the horizontal alignment of the text displayed in the ColumnHeader.
StatusBar.TextAlignReturns or sets how text is aligned in a StatusBar control.
StatusBarPanel.AlignmentReturns or sets the alignment of text and icons within the status bar panel.
ColumnHeaderCollection.AddAdds a column header to the collection with specified text, width, and alignment settings.
ColumnHeaderCollection.InsertCreates a new column header and inserts it into the collection at the specified index.