27 references to Bottom
System.Windows.Forms (7)
System\Windows\Forms\Controls\DataGridView\DataGridViewUtilities.cs (4)
99
tff = TextFormatFlags.
Bottom
;
111
tff = TextFormatFlags.
Bottom
| TextFormatFlags.HorizontalCenter;
114
tff = TextFormatFlags.
Bottom
;
447
return (flags & ~(TextFormatFlags.
Bottom
|
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2510
flags |= TextFormatFlags.
Bottom
;
System\Windows\Forms\Rendering\TextRenderer.cs (2)
515
TextFormatFlags flags = TextFormatFlags.
Bottom
)
531
TextFormatFlags flags = TextFormatFlags.
Bottom
)
System.Windows.Forms.Tests (20)
System\Windows\Forms\DrawListViewColumnHeaderEventArgsTests.cs (1)
100
e.DrawText(TextFormatFlags.
Bottom
);
System\Windows\Forms\DrawListViewItemEventArgsTests.cs (1)
145
e.DrawText(TextFormatFlags.
Bottom
);
System\Windows\Forms\DrawToolTipEventArgsTests.cs (1)
70
e.DrawText(TextFormatFlags.
Bottom
);
System\Windows\Forms\TextRendererTests.cs (5)
93
yield return new object[] { hint, text, SystemFonts.MenuFont, Point.Empty, Color.Red, TextFormatFlags.
Bottom
| TextFormatFlags.Right };
134
yield return new object[] { hint, text, SystemFonts.MenuFont, Point.Empty, Color.Red, Color.Blue, TextFormatFlags.
Bottom
| TextFormatFlags.Right };
241
yield return new object[] { hint, text, SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.Red, TextFormatFlags.
Bottom
| TextFormatFlags.Right };
285
yield return new object[] { hint, text, SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.Red, Color.Blue, TextFormatFlags.
Bottom
| TextFormatFlags.Right };
448
yield return new object[] { "string", SystemFonts.MenuFont, new Size(100, 200), TextFormatFlags.
Bottom
| TextFormatFlags.Right };
System\Windows\Forms\ToolStripButtonTests.cs (9)
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 };
1252
yield return new object[] { ContentAlignment.BottomCenter, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.
Bottom
| TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1253
yield return new object[] { ContentAlignment.BottomCenter, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.
Bottom
| TextFormatFlags.HidePrefix };
1254
yield return new object[] { ContentAlignment.BottomCenter, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.
Bottom
| TextFormatFlags.HidePrefix };
1255
yield return new object[] { ContentAlignment.BottomRight, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.
Bottom
| TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1256
yield return new object[] { ContentAlignment.BottomRight, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.
Bottom
| TextFormatFlags.HidePrefix };
1257
yield return new object[] { ContentAlignment.BottomRight, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.
Bottom
| TextFormatFlags.HidePrefix };
System\Windows\Forms\ToolStripItemTextRenderEventArgsTests.cs (3)
14
yield return new object[] { new ToolStripButton() { RightToLeft = RightToLeft.Yes }, "text", new Rectangle(1, 2, 3, 4), Color.Red, SystemFonts.DefaultFont, TextFormatFlags.
Bottom
};
39
yield return new object[] { new ToolStripButton(), "", new Rectangle(1, 2, 3, 4), Color.Red, SystemFonts.DefaultFont, ContentAlignment.BottomRight, TextFormatFlags.Default | TextFormatFlags.
Bottom
| TextFormatFlags.Right | TextFormatFlags.HidePrefix };
40
yield return new object[] { new ToolStripButton() { RightToLeft = RightToLeft.Yes }, "text", new Rectangle(1, 2, 3, 4), Color.Red, SystemFonts.DefaultFont, (ContentAlignment)(-1), TextFormatFlags.Default | TextFormatFlags.
Bottom
| TextFormatFlags.Right | TextFormatFlags.RightToLeft | TextFormatFlags.HidePrefix };