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

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