17 references to TopRight
System.Windows.Forms (14)
System\Windows\Forms\Control.cs (2)
10682
return ContentAlignment.
TopRight
;
10683
case ContentAlignment.
TopRight
:
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (2)
332
[ContentAlignment.TopLeft, ContentAlignment.
TopRight
],
408
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\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
;