25 references to MiddleRight
System.Windows.Forms (22)
System\Windows\Forms\Control.cs (2)
11422
return ContentAlignment.
MiddleRight
;
11423
case ContentAlignment.
MiddleRight
:
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (2)
348
[ContentAlignment.MiddleLeft, ContentAlignment.
MiddleRight
],
424
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\Button\PopupButtonKeyCapRenderer.cs (4)
590
ContentAlignment.TopRight or ContentAlignment.
MiddleRight
or ContentAlignment.BottomRight
677
ContentAlignment.
MiddleRight
=> TextFormatFlags.VerticalCenter | TextFormatFlags.Right,
709
ContentAlignment.MiddleLeft => ContentAlignment.
MiddleRight
,
710
ContentAlignment.
MiddleRight
=> ContentAlignment.MiddleLeft,
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (1)
145
ContentAlignment.
MiddleRight
or
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
;