TreeView for WinForms | ComponentOne
C1.Framework Namespace / C1BitmapIcon Class / ImageIndex Property

In This Topic
    ImageIndex Property (C1BitmapIcon)
    In This Topic
    Gets or sets the index of the small image in the SmallImageList.
    Syntax
    'Declaration
     
    
    <EditorAttribute("System.Windows.Forms.Design.ImageIndexEditor, System.Design", System.Drawing.Design.UITypeEditor)>
    <RelatedImageListAttribute("ImageList")>
    <DefaultValueAttribute(-1)>
    <LocalizableAttribute(True)>
    <TypeConverterAttribute(System.Windows.Forms.ImageIndexConverter)>
    Public Overridable Property ImageIndex As Integer
    [Editor("System.Windows.Forms.Design.ImageIndexEditor, System.Design", System.Drawing.Design.UITypeEditor)]
    [RelatedImageList("ImageList")]
    [DefaultValue(-1)]
    [Localizable(true)]
    [TypeConverter(System.Windows.Forms.ImageIndexConverter)]
    public virtual int ImageIndex {get; set;}
    See Also