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