20 references to MiddleRight
System.Windows.Forms (17)
System\Windows\Forms\Control.cs (2)
10693
return ContentAlignment.
MiddleRight
;
10694
case ContentAlignment.
MiddleRight
:
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (2)
333
[ContentAlignment.MiddleLeft, ContentAlignment.
MiddleRight
],
409
case ContentAlignment.
MiddleRight
:
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)
29
DataGridViewContentAlignment.MiddleRight => ContentAlignment.
MiddleRight
,
System\Windows\Forms\Controls\Labels\Label.cs (1)
273
case ContentAlignment.
MiddleRight
:
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
991
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, Text, InternalLayout.TextRectangle, textColor, Font, (rightToLeft) ? ContentAlignment.
MiddleRight
: ContentAlignment.MiddleLeft));
1000
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, GetShortcutText(), InternalLayout.TextRectangle, textColor, Font, (rightToLeft) ? ContentAlignment.MiddleLeft : ContentAlignment.
MiddleRight
));
System\Windows\Forms\Internal\WinFormsUtils.cs (2)
13
public const ContentAlignment AnyRightAlign = ContentAlignment.TopRight | ContentAlignment.
MiddleRight
| ContentAlignment.BottomRight;
17
public const ContentAlignment AnyMiddleAlign = ContentAlignment.MiddleLeft | ContentAlignment.MiddleCenter | ContentAlignment.
MiddleRight
;
System\Windows\Forms\Layout\LayoutUtils.cs (3)
21
public const ContentAlignment AnyRight = ContentAlignment.TopRight | ContentAlignment.
MiddleRight
| ContentAlignment.BottomRight;
23
public const ContentAlignment AnyMiddle = ContentAlignment.MiddleLeft | ContentAlignment.MiddleCenter | ContentAlignment.
MiddleRight
;
106
Debug.Assert(result != 0x06 || alignment == ContentAlignment.
MiddleRight
, "Error detected in ContentAlignmentToIndex.");
System\Windows\Forms\Rendering\ControlPaint.cs (2)
58
= ContentAlignment.TopRight | ContentAlignment.
MiddleRight
| ContentAlignment.BottomRight;
64
= ContentAlignment.MiddleLeft | ContentAlignment.MiddleCenter | ContentAlignment.
MiddleRight
;
System.Windows.Forms.Design (3)
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (2)
56
return ContentAlignment.
MiddleRight
;
90
case ContentAlignment.
MiddleRight
:
System\Windows\Forms\Design\DesignerUtils.cs (1)
108
public const ContentAlignment AnyMiddleAlignment = ContentAlignment.MiddleLeft | ContentAlignment.MiddleCenter | ContentAlignment.
MiddleRight
;