1 write to TextAlign
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Printing\PrintControllerWithStatusDialog.cs (1)
270label1.TextAlign = ContentAlignment.MiddleCenter;
6 references to TextAlign
System.Windows.Forms (6)
winforms\Managed\System\WinForms\Label.cs (4)
339switch(TextAlign) { 890if (TextAlign != value) { 1125return ControlPaint.CreateStringFormat( this, this.TextAlign, this.AutoEllipsis, this.UseMnemonic ); 1141TextFormatFlags flags = ControlPaint.CreateTextFormatFlags( this, this.TextAlign, this.AutoEllipsis, this.UseMnemonic );
winforms\Managed\System\WinForms\LinkLabel.cs (2)
705visualRectangle = CalcTextRenderBounds(visualRectangle /*textRect*/, clientRectWithPadding /*clientRect*/, RtlTranslateContent(this.TextAlign)); 1189finalrect = CalcTextRenderBounds(System.Drawing.Rectangle.Round(finalrect) /*textRect*/, this.ClientRectWithPadding /*clientRect*/, RtlTranslateContent(this.TextAlign));