Spread Windows Forms 7.0 Product Documentation
Item(Int32) Property
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > CheckBoxPicture Class > Item Property : Item(Int32) Property


index
Integer representing one of the available check box states

Glossary Item Box

Gets or sets the images for the check box states.

Syntax

Visual Basic (Declaration) 
Public Overloads Property Item( _
   ByVal index As Integer _
) As Image
Visual Basic (Usage)Copy Code
Dim instance As CheckBoxPicture
Dim index As Integer
Dim value As Image
 
instance.Item(index) = value
 
value = instance.Item(index)
C# 
public Image Item( 
   int index
) {get; set;}

Parameters

index
Integer representing one of the available check box states

Property Value

Image object containing the picture

Remarks

Use this method if you want to specify the index for the picture to display using an integer. Use the Item(CheckBoxPictureIndex) method if you want to specify the index using the CheckBoxPictureIndex enumeration.

The integer values you can use to specify the index are zero through eight, representing the enumerations provided by the CheckBoxPictureIndex enumeration.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.