Table of Contents

Method DrawThemeBackground

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

DrawThemeBackground(IntPtr, int, int, Rectangle)

When implemented by a class, draws the background image defined by the visual style for the specified control part.

void DrawThemeBackground(IntPtr handle, int partID, int stateID, Rectangle rect)

Parameters

handle IntPtr

Handle to a window's specified theme data.

partID int

Specifies the part to draw.

stateID int

Specifies the state of the part to draw.

rect Rectangle

Specifies the rectangle, in logical coordinates, in which the background image is drawn.