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)
2506
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)
102
e.DrawText(TextFormatFlags.
Bottom
);
System\Windows\Forms\DrawListViewItemEventArgsTests.cs (1)
147
e.DrawText(TextFormatFlags.
Bottom
);
System\Windows\Forms\DrawToolTipEventArgsTests.cs (1)
72
e.DrawText(TextFormatFlags.
Bottom
);
System\Windows\Forms\TextRendererTests.cs (5)
95
yield return new object[] { hint, text, SystemFonts.MenuFont, Point.Empty, Color.Red, TextFormatFlags.
Bottom
| TextFormatFlags.Right };
136
yield return new object[] { hint, text, SystemFonts.MenuFont, Point.Empty, Color.Red, Color.Blue, TextFormatFlags.
Bottom
| TextFormatFlags.Right };
243
yield return new object[] { hint, text, SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.Red, TextFormatFlags.
Bottom
| TextFormatFlags.Right };
287
yield return new object[] { hint, text, SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.Red, Color.Blue, TextFormatFlags.
Bottom
| TextFormatFlags.Right };
450
yield return new object[] { "string", SystemFonts.MenuFont, new Size(100, 200), TextFormatFlags.
Bottom
| TextFormatFlags.Right };
System\Windows\Forms\ToolStripButtonTests.cs (9)
1251
yield return new object[] { ContentAlignment.BottomLeft, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.
Bottom
| TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1252
yield return new object[] { ContentAlignment.BottomLeft, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.
Bottom
| TextFormatFlags.HidePrefix };
1253
yield return new object[] { ContentAlignment.BottomLeft, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.
Bottom
| TextFormatFlags.HidePrefix };
1254
yield return new object[] { ContentAlignment.BottomCenter, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.
Bottom
| TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1255
yield return new object[] { ContentAlignment.BottomCenter, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.
Bottom
| TextFormatFlags.HidePrefix };
1256
yield return new object[] { ContentAlignment.BottomCenter, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.
Bottom
| TextFormatFlags.HidePrefix };
1257
yield return new object[] { ContentAlignment.BottomRight, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.
Bottom
| TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1258
yield return new object[] { ContentAlignment.BottomRight, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.
Bottom
| TextFormatFlags.HidePrefix };
1259
yield return new object[] { ContentAlignment.BottomRight, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.
Bottom
| TextFormatFlags.HidePrefix };
System\Windows\Forms\ToolStripItemTextRenderEventArgsTests.cs (3)
16
yield return new object[] { new ToolStripButton() { RightToLeft = RightToLeft.Yes }, "text", new Rectangle(1, 2, 3, 4), Color.Red, SystemFonts.DefaultFont, TextFormatFlags.
Bottom
};
41
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 };
42
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 };