Table of Contents

Class ListItemDrawable

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Implements ListControlItem painting.

public class ListItemDrawable : BaseDrawable, IBaseObject, IBaseDrawable
Inheritance
ListItemDrawable
Implements
Extension Methods

Properties

Container

Gets or sets container of the item.

IsCurrentItem

Gets or sets whether the item is current in the container. This property is used to determine the state of the item and to select the appropriate colors for painting.

IsSelectedItem

Gets or sets whether the item is selected in the container. This property is used to determine the state of the item and to select the appropriate colors for painting.

Item

Gets or sets item to paint.

ItemIndex

Gets or sets index of the item in the container.

UseColumns

Gets or sets a value indicating whether item's columns are used when item is painted.

Methods

GetPreferredSize()

Gets preferred size in device-independent units.

OnDraw(AbstractControl, Graphics)

Performs custom drawing operations for the specified control.

PreparePaintArguments(Graphics)

Prepares the arguments required for painting the item using the specified graphics context.