34 references to TopRight
System.Windows.Forms (14)
System\Windows\Forms\Control.cs (2)
10540
return ContentAlignment.
TopRight
;
10541
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)
274
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
;
System.Windows.Forms.Tests (17)
System\Windows\Forms\ButtonBaseTests.cs (3)
198
yield return new object[] { FlatStyle.System, RightToLeft.Yes, ContentAlignment.
TopRight
, 0x56012500, 0x6000 };
208
yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.
TopRight
, 0x56012600, 0 };
218
yield return new object[] { FlatStyle.System, RightToLeft.Inherit, ContentAlignment.
TopRight
, 0x56012600, 0 };
System\Windows\Forms\ButtonTests.cs (3)
220
yield return new object[] { FlatStyle.System, RightToLeft.Yes, ContentAlignment.
TopRight
, 0x56012500, 0x6000 };
230
yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.
TopRight
, 0x56012600, 0 };
240
yield return new object[] { FlatStyle.System, RightToLeft.Inherit, ContentAlignment.
TopRight
, 0x56012600, 0 };
System\Windows\Forms\ControlTests.Methods.cs (2)
6920
yield return new object[] { RightToLeft.Yes, ContentAlignment.TopLeft, ContentAlignment.
TopRight
};
6921
yield return new object[] { RightToLeft.Yes, ContentAlignment.
TopRight
, ContentAlignment.TopLeft };
System\Windows\Forms\LabelTests.cs (1)
383
[InlineData(ContentAlignment.
TopRight
)]
System\Windows\Forms\RadioButtonTests.cs (1)
178
ContentAlignment.
TopRight
,
System\Windows\Forms\ToolStripButtonTests.cs (3)
1235
yield return new object[] { ContentAlignment.
TopRight
, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Top | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1236
yield return new object[] { ContentAlignment.
TopRight
, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Top | TextFormatFlags.HidePrefix };
1237
yield return new object[] { ContentAlignment.
TopRight
, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Top | TextFormatFlags.HidePrefix };
System\Windows\Forms\ToolStripItemTests.cs (4)
4188
[InlineData(ContentAlignment.
TopRight
, 1)]
4235
[InlineData(ContentAlignment.
TopRight
, 1)]
8304
[InlineData(ContentAlignment.
TopRight
, 1)]
8351
[InlineData(ContentAlignment.
TopRight
, 1)]