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