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