ComponentOne Windows 7 Control Pack for WinForms
C1.Win.C1Win7Pack Namespace / C1ThumbButton Class / ImageIndex Property

In This Topic
    ImageIndex Property
    In This Topic
    Gets or sets the index of an image in the ImageList.
    Syntax
    'Declaration
     
    
    <C1DescriptionAttribute("C1ThumbButton.ImageIndex", "The index of an image in the ImageList.")>
    <RefreshPropertiesAttribute(RefreshProperties.Repaint)>
    <RelatedImageListAttribute("ImageList")>
    <TypeConverterAttribute(System.Windows.Forms.ImageIndexConverter)>
    <EditorAttribute("System.Windows.Forms.Design.ImageIndexEditor, System.Design", System.Drawing.Design.UITypeEditor)>
    <DefaultValueAttribute(-1)>
    <LocalizableAttribute(True)>
    <C1CategoryAttribute("Appearance")>
    Public Property ImageIndex As Integer
    [C1Description("C1ThumbButton.ImageIndex", "The index of an image in the ImageList.")]
    [RefreshProperties(RefreshProperties.Repaint)]
    [RelatedImageList("ImageList")]
    [TypeConverter(System.Windows.Forms.ImageIndexConverter)]
    [Editor("System.Windows.Forms.Design.ImageIndexEditor, System.Design", System.Drawing.Design.UITypeEditor)]
    [DefaultValue(-1)]
    [Localizable(true)]
    [C1Category("Appearance")]
    public int ImageIndex {get; set;}
    See Also