Returns the value of the specified size property of the current visual style part using the specified drawing bounds.
- dc
The System.Drawing.IDeviceContext this operation will use.
- bounds
A System.Drawing.Rectangle that contains the area in which the part will be drawn.
- type
One of the System.Windows.Forms.VisualStyles.ThemeSizeType values that specifies which size value to retrieve for the part.
![]()
A System.Drawing.Size that contains the size specified by the type parameter for the current visual style part.