14 references to Ceiling
System.Web.Mobile (1)
UI\MobileControls\Design\Util\GroupLabel.cs (1)
46
Size sz = Size.
Ceiling
(g.MeasureString(text, Font));
System.Windows.Forms (13)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
1447
textSize = Size.
Ceiling
(g.MeasureString(text, font, new SizeF(proposedSize.Width, proposedSize.Height), gdipStringFormat));
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (1)
334
Size extents = Size.
Ceiling
(g.MeasureString(GetText(value), DataGridTableStyle.DataGrid.Font));
winforms\Managed\System\WinForms\GroupBox.cs (1)
576
textSize = Size.
Ceiling
(graphics.MeasureString(Text, Font, textRectangle.Width, format));
winforms\Managed\System\WinForms\Label.cs (1)
1316
requiredSize = Size.
Ceiling
(measurementGraphics.MeasureString(Text, Font, bounds, stringFormat));
winforms\Managed\System\WinForms\ListView.cs (1)
5126
textWidth = Size.
Ceiling
(g.MeasureString(text, this.Font)).Width;
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
5273
bindingSize = (SizeF) TextRenderer.MeasureText(g, text, font, Size.
Ceiling
(size), GetTextRendererFlags() );
5291
bindingSize = (SizeF) TextRenderer.MeasureText(g, text, font, Size.
Ceiling
(size), flags );
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (1)
92
Size sz = Size.
Ceiling
(sizef);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
1256
Size size = Size.
Ceiling
(sizeF);
winforms\Managed\System\WinForms\StatusBarPanel.cs (1)
556
Size sz = Size.
Ceiling
(g.MeasureString(text, parent.Font));
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (2)
239
textSize = Size.
Ceiling
(TextRenderer.MeasureText(messageText, Font, textSize, TextFormatFlags.WordBreak));
243
textSize = Size.
Ceiling
(g.MeasureString(messageText, Font, textSize.Width));
winforms\Managed\System\WinForms\ToolBarButton.cs (1)
486
Size textSize = Size.
Ceiling
(g.MeasureString(Text, parent.Font));