11 references to GetBackgroundContentRectangle
System.Windows.Forms (11)
winforms\Managed\System\WinForms\ButtonRenderer.cs (4)
121contentBounds = visualStyleRenderer.GetBackgroundContentRectangle(g, bounds); 170contentBounds = visualStyleRenderer.GetBackgroundContentRectangle(g, bounds); 200contentBounds = visualStyleRenderer.GetBackgroundContentRectangle(g, bounds); 240contentBounds = visualStyleRenderer.GetBackgroundContentRectangle(g, bounds);
winforms\Managed\System\WinForms\ComboBoxRenderer.cs (2)
54Rectangle fillRect = visualStyleRenderer.GetBackgroundContentRectangle(g, bounds); 116Rectangle textBounds = visualStyleRenderer.GetBackgroundContentRectangle(g, bounds);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (2)
447Rectangle rectContent = DataGridViewButtonCellRenderer.DataGridViewButtonRenderer.GetBackgroundContentRectangle(g, rectCell); 786valBounds = DataGridViewButtonCellRenderer.DataGridViewButtonRenderer.GetBackgroundContentRectangle(g, valBounds);
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (1)
486Rectangle rectContent = DataGridViewHeaderCellRenderer.VisualStyleRenderer.GetBackgroundContentRectangle(g, rectCell);
winforms\Managed\System\WinForms\TextBoxRenderer.cs (2)
51Rectangle fillRect = visualStyleRenderer.GetBackgroundContentRectangle(g, bounds); 102Rectangle textBounds = visualStyleRenderer.GetBackgroundContentRectangle(g, bounds);