23 references to TopRight
System.Windows.Forms (20)
System\Windows\Forms\Control.cs (2)
11411
return ContentAlignment.
TopRight
;
11412
case ContentAlignment.
TopRight
:
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (2)
347
[ContentAlignment.TopLeft, ContentAlignment.
TopRight
],
423
case ContentAlignment.
TopRight
:
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
26
private const ContentAlignment AnyRight = ContentAlignment.
TopRight
| ContentAlignment.MiddleRight | ContentAlignment.BottomRight;
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
27
private const ContentAlignment AnyRight = ContentAlignment.
TopRight
| ContentAlignment.MiddleRight | ContentAlignment.BottomRight;
System\Windows\Forms\Controls\DataGridView\DataGridViewUtilities.cs (1)
26
DataGridViewContentAlignment.TopRight => ContentAlignment.
TopRight
,
System\Windows\Forms\Controls\Labels\Label.cs (1)
272
case ContentAlignment.
TopRight
:
System\Windows\Forms\Internal\WinFormsUtils.cs (2)
13
public const ContentAlignment AnyRightAlign = ContentAlignment.
TopRight
| ContentAlignment.MiddleRight | ContentAlignment.BottomRight;
15
public const ContentAlignment AnyTopAlign = ContentAlignment.TopLeft | ContentAlignment.TopCenter | ContentAlignment.
TopRight
;
System\Windows\Forms\Layout\LayoutUtils.cs (3)
18
public const ContentAlignment AnyTop = ContentAlignment.TopLeft | ContentAlignment.TopCenter | ContentAlignment.
TopRight
;
21
public const ContentAlignment AnyRight = ContentAlignment.
TopRight
| ContentAlignment.MiddleRight | ContentAlignment.BottomRight;
102
Debug.Assert(result != 0x02 || alignment == ContentAlignment.
TopRight
, "Error detected in ContentAlignmentToIndex.");
System\Windows\Forms\Rendering\Button\PopupButtonKeyCapRenderer.cs (5)
590
ContentAlignment.
TopRight
or ContentAlignment.MiddleRight or ContentAlignment.BottomRight
597
ContentAlignment.TopLeft or ContentAlignment.TopCenter or ContentAlignment.
TopRight
=> container.Top,
675
ContentAlignment.
TopRight
=> TextFormatFlags.Top | TextFormatFlags.Right,
707
ContentAlignment.TopLeft => ContentAlignment.
TopRight
,
708
ContentAlignment.
TopRight
=> ContentAlignment.TopLeft,
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (1)
144
ContentAlignment.
TopRight
or
System\Windows\Forms\Rendering\ControlPaint.cs (1)
58
= ContentAlignment.
TopRight
| ContentAlignment.MiddleRight | ContentAlignment.BottomRight;
System.Windows.Forms.Design (3)
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (2)
44
return ContentAlignment.
TopRight
;
81
case ContentAlignment.
TopRight
:
System\Windows\Forms\Design\DesignerUtils.cs (1)
107
public const ContentAlignment AnyTopAlignment = ContentAlignment.TopLeft | ContentAlignment.TopCenter | ContentAlignment.
TopRight
;