[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.FpList.DrawListBoxItem

DrawListBoxItem Method

DrawListBoxItem(string, ImageList, DrawItemEventArgs, bool)

Draws one of the list box items.

Declaration
public static void DrawListBoxItem(string strText, ImageList images, DrawItemEventArgs e, bool rightToLeft)
Public Shared Sub DrawListBoxItem(strText As String, images As ImageList, e As DrawItemEventArgs, rightToLeft As Boolean)
Parameters
Type Name Description
string strText

Text of the item in the list box

ImageList images

List of images for the list box

DrawItemEventArgs e

DrawItem event that contains the item

bool rightToLeft

Whether to draw the object with a right to left orientation

DrawListBoxItem(string, ImageList, DrawItemEventArgs, bool, SelectionMode, Color, Color)

Draws one of the list box items.

Declaration
public static void DrawListBoxItem(string strText, ImageList images, DrawItemEventArgs e, bool rightToLeft, SelectionMode selMode, Color itemBackColor, Color itemForeColor)
Public Shared Sub DrawListBoxItem(strText As String, images As ImageList, e As DrawItemEventArgs, rightToLeft As Boolean, selMode As SelectionMode, itemBackColor As Color, itemForeColor As Color)
Parameters
Type Name Description
string strText

Text of the item in the list box

ImageList images

List of images for the list box

DrawItemEventArgs e

DrawItem event that contains the item

bool rightToLeft

Whether to draw the object with a right to left orientation

SelectionMode selMode

SelectionMode of the ListBox

Color itemBackColor

The backcolor for the item

Color itemForeColor

The forecolor for the item