34 references to TopRight
System.Windows.Forms (14)
System\Windows\Forms\Control.cs (2)
10572return ContentAlignment.TopRight; 10573case ContentAlignment.TopRight:
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (2)
332[ContentAlignment.TopLeft, ContentAlignment.TopRight], 408case ContentAlignment.TopRight:
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
26private const ContentAlignment AnyRight = ContentAlignment.TopRight | ContentAlignment.MiddleRight | ContentAlignment.BottomRight;
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
27private const ContentAlignment AnyRight = ContentAlignment.TopRight | ContentAlignment.MiddleRight | ContentAlignment.BottomRight;
System\Windows\Forms\Controls\DataGridView\DataGridViewUtilities.cs (1)
26DataGridViewContentAlignment.TopRight => ContentAlignment.TopRight,
System\Windows\Forms\Controls\Labels\Label.cs (1)
274case ContentAlignment.TopRight:
System\Windows\Forms\Internal\WinFormsUtils.cs (2)
13public const ContentAlignment AnyRightAlign = ContentAlignment.TopRight | ContentAlignment.MiddleRight | ContentAlignment.BottomRight; 15public const ContentAlignment AnyTopAlign = ContentAlignment.TopLeft | ContentAlignment.TopCenter | ContentAlignment.TopRight;
System\Windows\Forms\Layout\LayoutUtils.cs (3)
18public const ContentAlignment AnyTop = ContentAlignment.TopLeft | ContentAlignment.TopCenter | ContentAlignment.TopRight; 21public const ContentAlignment AnyRight = ContentAlignment.TopRight | ContentAlignment.MiddleRight | ContentAlignment.BottomRight; 102Debug.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)
44return ContentAlignment.TopRight; 81case ContentAlignment.TopRight:
System\Windows\Forms\Design\DesignerUtils.cs (1)
107public const ContentAlignment AnyTopAlignment = ContentAlignment.TopLeft | ContentAlignment.TopCenter | ContentAlignment.TopRight;
System.Windows.Forms.Tests (17)
System\Windows\Forms\ButtonBaseTests.cs (3)
200yield return new object[] { FlatStyle.System, RightToLeft.Yes, ContentAlignment.TopRight, 0x56012500, 0x6000 }; 210yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.TopRight, 0x56012600, 0 }; 220yield return new object[] { FlatStyle.System, RightToLeft.Inherit, ContentAlignment.TopRight, 0x56012600, 0 };
System\Windows\Forms\ButtonTests.cs (3)
222yield return new object[] { FlatStyle.System, RightToLeft.Yes, ContentAlignment.TopRight, 0x56012500, 0x6000 }; 232yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.TopRight, 0x56012600, 0 }; 242yield return new object[] { FlatStyle.System, RightToLeft.Inherit, ContentAlignment.TopRight, 0x56012600, 0 };
System\Windows\Forms\ControlTests.Methods.cs (2)
6889yield return new object[] { RightToLeft.Yes, ContentAlignment.TopLeft, ContentAlignment.TopRight }; 6890yield return new object[] { RightToLeft.Yes, ContentAlignment.TopRight, ContentAlignment.TopLeft };
System\Windows\Forms\LabelTests.cs (1)
385[InlineData(ContentAlignment.TopRight)]
System\Windows\Forms\RadioButtonTests.cs (1)
180ContentAlignment.TopRight,
System\Windows\Forms\ToolStripButtonTests.cs (3)
1237yield return new object[] { ContentAlignment.TopRight, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Top | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft }; 1238yield return new object[] { ContentAlignment.TopRight, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Top | TextFormatFlags.HidePrefix }; 1239yield return new object[] { ContentAlignment.TopRight, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Top | TextFormatFlags.HidePrefix };
System\Windows\Forms\ToolStripItemTests.cs (4)
4190[InlineData(ContentAlignment.TopRight, 1)] 4237[InlineData(ContentAlignment.TopRight, 1)] 8306[InlineData(ContentAlignment.TopRight, 1)] 8353[InlineData(ContentAlignment.TopRight, 1)]