Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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