Spread Windows Forms 18
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IColorPalette Interface / Item Property
An integer value indicates the position of the specified color.


In This Topic
    Item Property (IColorPalette)
    In This Topic
    Gets or sets the RGB color at the specified index.
    Syntax
    'Declaration
     
    
    Default Property Item( _
       ByVal index As Integer _
    ) As Integer
    'Usage
     
    
    Dim instance As IColorPalette
    Dim index As Integer
    Dim value As Integer
     
    instance.Item(index) = value
     
    value = instance.Item(index)
    int this[ 
       int index
    ]; {get; set;}

    Parameters

    index
    An integer value indicates the position of the specified color.

    Property Value

    The RGB color of the specified color.
    See Also