Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / FpList Class / DrawListBoxItem Method / DrawListBoxItem(String,ImageList,DrawItemEventArgs,Boolean) Method
Text of the item in the list box
List of images for the list box
DrawItem event that contains the item
Whether to draw the object with a right to left orientation


In This Topic
    DrawListBoxItem(String,ImageList,DrawItemEventArgs,Boolean) Method
    In This Topic
    Draws one of the list box items.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub DrawListBoxItem( _
       ByVal strText As String, _
       ByVal images As ImageList, _
       ByVal e As DrawItemEventArgs, _
       ByVal rightToLeft As Boolean _
    ) 
    'Usage
     
    
    Dim strText As String
    Dim images As ImageList
    Dim e As DrawItemEventArgs
    Dim rightToLeft As Boolean
     
    FpList.DrawListBoxItem(strText, images, e, rightToLeft)
    public static void DrawListBoxItem( 
       string strText,
       ImageList images,
       DrawItemEventArgs e,
       bool rightToLeft
    )

    Parameters

    strText
    Text of the item in the list box
    images
    List of images for the list box
    e
    DrawItem event that contains the item
    rightToLeft
    Whether to draw the object with a right to left orientation
    See Also