An NDoc Documented Class Library

XPThemeManager.GetThemeBackgroundContentRect Method 

Gets the rectangle in which the content imagery should be contained.

public Rectangle GetThemeBackgroundContentRect(
   Graphics graphics,
   int partId,
   int stateId,
   Rectangle bounds
);

Parameters

graphics
The graphics surface on which to draw
partId
The part to draw (see schemadefs.h)
stateId
The state to draw (see schemadefs.h)
bounds
The bounding rectangle for the part

Return Value

The bounding rectangle for the part content

See Also

XPThemeManager Class | XPThemeManager Members | Genghis.Windows.Forms Namespace