62 references to MiddleLeft
PresentationUI (1)
MS\Internal\Documents\RMPermissions.Designer.cs (1)
123this.requestFromLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
System.Windows.Forms (24)
System\Windows\Forms\Control.cs (2)
10550case ContentAlignment.MiddleLeft: 10553return ContentAlignment.MiddleLeft;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (2)
333[ContentAlignment.MiddleLeft, ContentAlignment.MiddleRight], 397case ContentAlignment.MiddleLeft:
System\Windows\Forms\Controls\Buttons\CheckBox.cs (4)
28private ContentAlignment _checkAlign = ContentAlignment.MiddleLeft; 49TextAlign = ContentAlignment.MiddleLeft; 113[DefaultValue(ContentAlignment.MiddleLeft)] 335[DefaultValue(ContentAlignment.MiddleLeft)]
System\Windows\Forms\Controls\Buttons\RadioButton.cs (4)
33private ContentAlignment _checkAlign = ContentAlignment.MiddleLeft; 48TextAlign = ContentAlignment.MiddleLeft; 120[DefaultValue(ContentAlignment.MiddleLeft)] 305[DefaultValue(ContentAlignment.MiddleLeft)]
System\Windows\Forms\Controls\DataGridView\DataGridViewUtilities.cs (1)
27DataGridViewContentAlignment.MiddleLeft => ContentAlignment.MiddleLeft,
System\Windows\Forms\Controls\Labels\Label.cs (1)
270case ContentAlignment.MiddleLeft:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
147ImageAlign = ContentAlignment.MiddleLeft,
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
994renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, Text, InternalLayout.TextRectangle, textColor, Font, (rightToLeft) ? ContentAlignment.MiddleRight : ContentAlignment.MiddleLeft)); 1003renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, GetShortcutText(), InternalLayout.TextRectangle, textColor, Font, (rightToLeft) ? ContentAlignment.MiddleLeft : ContentAlignment.MiddleRight));
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
296button.ImageAlign = ContentAlignment.MiddleLeft;
System\Windows\Forms\Internal\WinFormsUtils.cs (2)
14public const ContentAlignment AnyLeftAlign = ContentAlignment.TopLeft | ContentAlignment.MiddleLeft | ContentAlignment.BottomLeft; 17public const ContentAlignment AnyMiddleAlign = ContentAlignment.MiddleLeft | ContentAlignment.MiddleCenter | ContentAlignment.MiddleRight;
System\Windows\Forms\Layout\LayoutUtils.cs (3)
20public const ContentAlignment AnyLeft = ContentAlignment.TopLeft | ContentAlignment.MiddleLeft | ContentAlignment.BottomLeft; 23public const ContentAlignment AnyMiddle = ContentAlignment.MiddleLeft | ContentAlignment.MiddleCenter | ContentAlignment.MiddleRight; 104Debug.Assert(result != 0x04 || alignment == ContentAlignment.MiddleLeft, "Error detected in ContentAlignmentToIndex.");
System\Windows\Forms\Rendering\ControlPaint.cs (1)
64= ContentAlignment.MiddleLeft | ContentAlignment.MiddleCenter | ContentAlignment.MiddleRight;
System.Windows.Forms.Design (14)
System\ComponentModel\Design\DesignerActionPanel.CheckBoxPropertyLine.cs (2)
21CheckAlign = ContentAlignment.MiddleLeft, 22TextAlign = ContentAlignment.MiddleLeft,
System\ComponentModel\Design\DesignerActionPanel.MethodLine.cs (1)
26TextAlign = ContentAlignment.MiddleLeft,
System\ComponentModel\Design\DesignerActionPanel.PanelHeaderLine.cs (2)
27TextAlign = ContentAlignment.MiddleLeft, 35TextAlign = ContentAlignment.MiddleLeft,
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
28TextAlign = ContentAlignment.MiddleLeft,
System\ComponentModel\Design\DesignerActionPanel.TextLine.cs (1)
24TextAlign = ContentAlignment.MiddleLeft,
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (3)
48return ContentAlignment.MiddleLeft; 84case ContentAlignment.MiddleLeft: 453=> Align = Value is ContentAlignment contentAligment ? contentAligment : ContentAlignment.MiddleLeft;
System\Windows\Forms\Design\DateTimePickerDesigner.cs (1)
27int baseline = DesignerUtils.GetTextBaseline(Control, ContentAlignment.MiddleLeft);
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
150TextAlign = ContentAlignment.MiddleLeft, 277TextAlign = ContentAlignment.MiddleLeft,
System\Windows\Forms\Design\DesignerUtils.cs (1)
108public const ContentAlignment AnyMiddleAlignment = ContentAlignment.MiddleLeft | ContentAlignment.MiddleCenter | ContentAlignment.MiddleRight;
System.Windows.Forms.Tests (22)
System\Windows\Forms\ButtonBaseTests.cs (3)
193yield return new object[] { FlatStyle.System, RightToLeft.Yes, ContentAlignment.MiddleLeft, 0x56012E00, 0x6000 }; 203yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.MiddleLeft, 0x56012D00, 0 }; 213yield return new object[] { FlatStyle.System, RightToLeft.Inherit, ContentAlignment.MiddleLeft, 0x56012D00, 0 };
System\Windows\Forms\ButtonTests.cs (3)
215yield return new object[] { FlatStyle.System, RightToLeft.Yes, ContentAlignment.MiddleLeft, 0x56012E00, 0x6000 }; 225yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.MiddleLeft, 0x56012D00, 0 }; 235yield return new object[] { FlatStyle.System, RightToLeft.Inherit, ContentAlignment.MiddleLeft, 0x56012D00, 0 };
System\Windows\Forms\CheckBoxTests.cs (2)
42Assert.Equal(ContentAlignment.MiddleLeft, control.CheckAlign); 111Assert.Equal(ContentAlignment.MiddleLeft, control.TextAlign);
System\Windows\Forms\ControlTests.Methods.cs (2)
6917yield return new object[] { RightToLeft.Yes, ContentAlignment.MiddleLeft, ContentAlignment.MiddleRight }; 6918yield return new object[] { RightToLeft.Yes, ContentAlignment.MiddleRight, ContentAlignment.MiddleLeft };
System\Windows\Forms\LabelTests.cs (1)
384[InlineData(ContentAlignment.MiddleLeft)]
System\Windows\Forms\RadioButtonTests.cs (4)
42Assert.Equal(ContentAlignment.MiddleLeft, control.CheckAlign); 109Assert.Equal(ContentAlignment.MiddleLeft, control.TextAlign); 182ContentAlignment.MiddleLeft, 342int expectedCallCount = value == ContentAlignment.MiddleLeft ? 0 : 1;
System\Windows\Forms\ToolStripButtonTests.cs (3)
1239yield return new object[] { ContentAlignment.MiddleLeft, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft }; 1240yield return new object[] { ContentAlignment.MiddleLeft, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix }; 1241yield return new object[] { ContentAlignment.MiddleLeft, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix };
System\Windows\Forms\ToolStripItemTests.cs (4)
4189[InlineData(ContentAlignment.MiddleLeft, 1)] 4236[InlineData(ContentAlignment.MiddleLeft, 1)] 8305[InlineData(ContentAlignment.MiddleLeft, 1)] 8352[InlineData(ContentAlignment.MiddleLeft, 1)]
WinFormsControlsTest (1)
DesignTimeAligned.Designer.cs (1)
71this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;