21 writes to TextAlign
PresentationUI (1)
MS\Internal\Documents\RMPermissions.Designer.cs (1)
123this.requestFromLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
System.Windows.Forms.Design (10)
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 (2)
28TextAlign = ContentAlignment.MiddleLeft, 37TextAlign = ContentAlignment.TopLeft,
System\ComponentModel\Design\DesignerActionPanel.TextLine.cs (1)
24TextAlign = ContentAlignment.MiddleLeft,
System\Windows\Forms\Design\DesignBindingPicker.cs (4)
150TextAlign = ContentAlignment.MiddleLeft, 189TextAlign = ContentAlignment.TopLeft, 277TextAlign = ContentAlignment.MiddleLeft, 321TextAlign = ContentAlignment.TopLeft,
System.Windows.Forms.Tests (7)
System\Windows\Forms\LabelTests.cs (7)
393label.TextAlign = alignment; 403label.TextAlign = ContentAlignment.TopLeft; 408label.TextAlign = ContentAlignment.TopLeft; 416label.TextAlign = ContentAlignment.TopLeft; 421label.TextAlign = ContentAlignment.MiddleCenter; 838label.TextAlign = ContentAlignment.BottomCenter; 842label.TextAlign = ContentAlignment.BottomLeft;
WinFormsControlsTest (3)
DesignTimeAligned.Designer.cs (2)
50this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; 61this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
FormOwnerTestForm.cs (1)
50TextAlign = ContentAlignment.MiddleCenter
8 references to TextAlign
System.Windows.Forms (6)
System\Windows\Forms\Controls\Labels\Label.cs (4)
267switch (TextAlign) 701if (TextAlign != value) 911=> ControlPaint.CreateStringFormat(this, TextAlign, AutoEllipsis, UseMnemonic); 926TextFormatFlags flags = ControlPaint.CreateTextFormatFlags(this, TextAlign, AutoEllipsis, UseMnemonic);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (2)
586visualRectangle = CalcTextRenderBounds(visualRectangle, clientRectWithPadding, RtlTranslateContent(TextAlign)); 1080focusRectangle = CalcTextRenderBounds(Rectangle.Round(focusRectangle), ClientRectWithPadding, RtlTranslateContent(TextAlign));
System.Windows.Forms.Tests (2)
System\Windows\Forms\LabelTests.cs (2)
105Assert.Equal(ContentAlignment.TopLeft, control.TextAlign); 395Assert.Equal(alignment, label.TextAlign);