MobileForms Toolkit Documentation

Item.DrawBackground Method (Graphics, Int32, Int32, Int32, Int32, Int32, Int32)

Draw background of Item.

protected virtual void DrawBackground(
Graphics gr,
int x,
int y,
int textWidth,
int labelWidth,
int separWidth,
int height
);

Parameters

gr
Graphics to use to paint the Item.
x
X start position of drawing.
y
Y start position of drawing.
textWidth
Text part width.
labelWidth
Label part width.
separWidth
Separator part width.
height
Height of Item.

Remarks

When derive class from Item class, use this function to draw background of your custom Item.

Note   This overload is deprecated and for backward compatibility, swap to overload DrawBackground for better performance and future use.

See Also

Item Class | Resco.Controls.DetailView Namespace | Item.DrawBackground Overload List