Name
LeftRightAlignment
Synopsis
This enumeration is used by various controls to align visual
components either to the left or the right of the main body of the
control (e.g., the DateTimePicker
, or the
ComboBox
). Note that while the values of the
enumeration are Left
and Right
,
the RightToLeft
status of the control comes into
play, so Left
would actually appear on the right
if RightToLeft
is set to Yes
.
public enum LeftRightAlignment { Left = 0, Right = 1 }
Hierarchy
System.Object
→ System.ValueType → System.Enum(System.IComparabl,
System.IFormattable
,
System.IConvertible)
→ LeftRightAlignment
Returned By
Control.RtlTranslateLeftRight()
,
DateTimePicker.DropDownAlign
,
UpDownBase.UpDownAlign
Passed To
Control.{RtlTranslateAlignment()
,
RtlTranslateLeftRight()}
,
DateTimePicker.DropDownAlign
,
UpDownBase.UpDownAlign
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.