TabItem.getImageIndex

Overview | Methods | This Package | All Packages

TabItem.getImageIndex

Retrieves the index of the image that appears on this tab.

Syntax

public final int getImageIndex()

Return Value

Returns the zero-based index within an ImageList object of the image that appears on this tab. Returns -1 if no image appears on the tab.

Remarks

In addition to setting the imageIndex property, you must create an ImageList object, add images to the ImageList object, and then associate the ImageList object with the TabStrip control using the setImageList method to display images on tabs.

See Also   setImageIndex