Spread Windows Forms 9.0 Product Documentation
Item(Int32) Property


Integer representing one of the available check box states
Gets or sets the images for the check box states.
Syntax
'Declaration
 
Public Overloads Property Item( _
   ByVal index As Integer _
) As Image
'Usage
 
Dim instance As CheckBoxPicture
Dim index As Integer
Dim value As Image
 
instance.Item(index) = value
 
value = instance.Item(index)
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 Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

CheckBoxPicture Class
CheckBoxPicture Members
Overload List
CheckBoxPictureIndex Enumeration
Picture Property

 

 


Copyright © GrapeCity, inc. All rights reserved.