36 references to Left
System.Windows.Forms (15)
System\Windows\Forms\Controls\DataGridView\DataGridViewUtilities.cs (7)
52
tff |= TextFormatFlags.
Left
;
63
tff |= TextFormatFlags.
Left
;
79
tff |= TextFormatFlags.
Left
;
90
tff |= TextFormatFlags.
Left
;
106
tff |= TextFormatFlags.
Left
;
117
tff |= TextFormatFlags.
Left
;
455
TextFormatFlags.
Left
|
System\Windows\Forms\Controls\GroupBox\GroupBoxRenderer.cs (2)
78
=> DrawGroupBox(g, bounds, groupBoxText, font, TextFormatFlags.Top | TextFormatFlags.
Left
, state);
90
=> DrawGroupBox(g, bounds, groupBoxText, font, textColor, TextFormatFlags.Top | TextFormatFlags.
Left
, state);
System\Windows\Forms\Controls\ListView\DrawListViewColumnHeaderEventArgs.cs (1)
128
TextFormatFlags flags = (hAlign == HorizontalAlignment.Left) ? TextFormatFlags.
Left
:
System\Windows\Forms\Controls\ListView\DrawListViewItemEventArgs.cs (1)
84
public void DrawText() => DrawText(TextFormatFlags.
Left
);
System\Windows\Forms\Controls\ListView\DrawListViewSubItemEventArgs.cs (1)
124
TextFormatFlags flags = (hAlign == HorizontalAlignment.Left) ? TextFormatFlags.
Left
:
System\Windows\Forms\Controls\TextBox\TextBox.cs (2)
885
flags |= TextFormatFlags.
Left
;
900
flags |= TextFormatFlags.
Left
;
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2506
TextFormatFlags flags = TextFormatFlags.Top | TextFormatFlags.
Left
;
System.Windows.Forms.Tests (21)
System\Windows\Forms\DrawListViewColumnHeaderEventArgsTests.cs (1)
117
e.DrawText(TextFormatFlags.
Left
);
System\Windows\Forms\ToolStripButtonTests.cs (9)
1229
yield return new object[] { ContentAlignment.TopLeft, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.
Left
| TextFormatFlags.Top | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1230
yield return new object[] { ContentAlignment.TopLeft, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.
Left
| TextFormatFlags.Top | TextFormatFlags.HidePrefix };
1231
yield return new object[] { ContentAlignment.TopLeft, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.
Left
| TextFormatFlags.Top | TextFormatFlags.HidePrefix };
1239
yield return new object[] { ContentAlignment.MiddleLeft, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.
Left
| TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1240
yield return new object[] { ContentAlignment.MiddleLeft, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.
Left
| TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix };
1241
yield return new object[] { ContentAlignment.MiddleLeft, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.
Left
| TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix };
1249
yield return new object[] { ContentAlignment.BottomLeft, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.
Left
| TextFormatFlags.Bottom | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1250
yield return new object[] { ContentAlignment.BottomLeft, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.
Left
| TextFormatFlags.Bottom | TextFormatFlags.HidePrefix };
1251
yield return new object[] { ContentAlignment.BottomLeft, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.
Left
| TextFormatFlags.Bottom | TextFormatFlags.HidePrefix };
System\Windows\Forms\ToolStripRendererTests.cs (11)
294
yield return new object[] { new SubToolStripItem(), null, Rectangle.Empty, Color.Empty, null, TextFormatFlags.
Left
};
295
yield return new object[] { new SubToolStripItem(), null, new Rectangle(1, 2, 0, 4), Color.Empty, null, TextFormatFlags.
Left
};
296
yield return new object[] { new SubToolStripItem(), null, new Rectangle(1, 2, 3, 0), Color.Empty, null, TextFormatFlags.
Left
};
297
yield return new object[] { new SubToolStripItem(), null, new Rectangle(1, 2, 3, 4), Color.Empty, null, TextFormatFlags.
Left
};
299
yield return new object[] { new SubToolStripItem(), "Text", Rectangle.Empty, Color.Red, SystemFonts.MenuFont, TextFormatFlags.
Left
};
300
yield return new object[] { new SubToolStripItem(), "Text", new Rectangle(1, 2, 0, 4), Color.Red, SystemFonts.MenuFont, TextFormatFlags.
Left
};
301
yield return new object[] { new SubToolStripItem(), "Text", new Rectangle(1, 2, 3, 0), Color.Red, SystemFonts.MenuFont, TextFormatFlags.
Left
};
302
yield return new object[] { new SubToolStripItem(), "Text", new Rectangle(1, 2, 3, 4), Color.Red, SystemFonts.MenuFont, TextFormatFlags.
Left
};
303
yield return new object[] { new SubToolStripItem() { Enabled = false }, "Text", new Rectangle(1, 2, 3, 4), Color.Red, SystemFonts.MenuFont, TextFormatFlags.
Left
};
304
yield return new object[] { new SubToolStripItem() { TextDirection = ToolStripTextDirection.Vertical270 }, "Text", new Rectangle(1, 2, 3, 4), Color.Red, SystemFonts.MenuFont, TextFormatFlags.
Left
};
305
yield return new object[] { new SubToolStripItem() { TextDirection = ToolStripTextDirection.Vertical90 }, "Text", new Rectangle(1, 2, 3, 4), Color.Red, SystemFonts.MenuFont, TextFormatFlags.
Left
};