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