Icon Elements

Draws the icon for the context task. If that task has already closed, draws its last-known icon instead, for up to sbClosedWindowMemoryDuration milliseconds, after which no icon is available.

Icon elements inherit common layout options and positionable element options.
(prefix)OffsetX [float]
(prefix)OffsetY [float]
Default: 0
If nonzero, offsets the icon, moving it by a fraction of its size (an offset of 1.0 moving it by its full size, 0.0 not moving it at all). The icon is clipped against the edge of the space in which it would be drawn. In the default theme, this is used for a minimized task effect.
(prefix)UseXPaintClass [bool]
Default: false
If set, uses the XPaintClass library to draw the icon instead of internal painting code. This allows the use of XPaintIcon options. Note that versions of XPaintClass earlier than xPaintClass-1.0 release 7 will paint the icon with the wrong size. Versions of XPaintClass that are release 7 or newer paint it correctly.