14 references to Ceiling
System.Windows.Forms (10)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
670
textSize = Size.
Ceiling
(
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
486
textSize = Size.
Ceiling
(graphics.MeasureString(Text, Font, textRectangle.Width, format));
System\Windows\Forms\Controls\Labels\Label.cs (1)
1086
requiredSize = Size.
Ceiling
(screen.Graphics.MeasureString(Text, Font, bounds, stringFormat));
System\Windows\Forms\Controls\ListView\ListView.cs (1)
5475
int textWidth = Size.
Ceiling
(g.MeasureString(text, Font)).Width;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.MeasureTextHelper.cs (2)
28
Size.
Ceiling
(size),
38
Size.
Ceiling
(size),
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
91
Size size = Size.
Ceiling
(sizef);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
1072
var size = Size.
Ceiling
(sizeF);
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (2)
213
textSize = Size.
Ceiling
(TextRenderer.MeasureText(messageText, Font, textSize, TextFormatFlags.WordBreak));
219
textSize = Size.
Ceiling
(g.MeasureString(messageText, Font, textSize.Width));
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ComponentTray.cs (1)
1990
Size sz = Size.
Ceiling
(gr.MeasureString(Text, Font));
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1004
int textWidth = Size.
Ceiling
(e.Graphics.MeasureString(columnName, e.Font!, new SizeF(bounds.Width, bounds.Height))).Width;
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.Picker.cs (1)
50
width = Math.Max(width, Size.
Ceiling
(g.MeasureString(item.ToString(), _typesListBox.Font)).Width);
System\Windows\Forms\Design\TabOrder.cs (1)
256
var sz = Size.
Ceiling
(graphics.MeasureString(str, font));