10 references to GetBackgroundContentRectangle
System.Windows.Forms (10)
System\Windows\Forms\Controls\Buttons\ButtonRenderer.cs (3)
152contentBounds = t_visualStyleRenderer.GetBackgroundContentRectangle(g, bounds); 182contentBounds = t_visualStyleRenderer.GetBackgroundContentRectangle(g, bounds); 258contentBounds = t_visualStyleRenderer.GetBackgroundContentRectangle(deviceContext, bounds);
System\Windows\Forms\Controls\ComboBox\ComboBoxRenderer.cs (2)
37Rectangle fillRect = t_visualStyleRenderer.GetBackgroundContentRectangle(g, bounds); 78Rectangle textBounds = t_visualStyleRenderer.GetBackgroundContentRectangle(g, bounds);
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (2)
416Rectangle rectContent = DataGridViewButtonCellRenderer.DataGridViewButtonRenderer.GetBackgroundContentRectangle(g, rectCell); 743valBounds = DataGridViewButtonCellRenderer.DataGridViewButtonRenderer.GetBackgroundContentRectangle(g, valBounds);
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
386Rectangle rectContent = DataGridViewHeaderCellRenderer.VisualStyleRenderer.GetBackgroundContentRectangle(g, rectCell);
System\Windows\Forms\Controls\TextBox\TextBoxRenderer.cs (2)
33Rectangle fillRect = t_visualStyleRenderer.GetBackgroundContentRectangle(g, bounds); 70Rectangle textBounds = t_visualStyleRenderer.GetBackgroundContentRectangle(g, bounds);