ComponentOne Windows 7 Control Pack for WinForms
ImageKey Property



C1.Win.C1Win7Pack.4 Assembly > C1.Win.C1Win7Pack Namespace > C1ThumbButton Class : ImageKey Property
Gets or sets the image key in the ImageList.
Syntax
<TypeConverterAttribute("System.Windows.Forms.ImageKeyConverter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Windows.Forms.Design.ImageIndexEditor, System.Design")>
<C1CategoryAttribute("表示")>
<LocalizableAttribute(True)>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<C1DescriptionAttribute("The image key in the ImageList.")>
<DefaultValueAttribute()>
<RelatedImageListAttribute("ImageList")>
Public Property ImageKey As String
Dim instance As C1ThumbButton
Dim value As String
 
instance.ImageKey = value
 
value = instance.ImageKey
[TypeConverter("System.Windows.Forms.ImageKeyConverter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Windows.Forms.Design.ImageIndexEditor, System.Design")]
[C1Category("表示")]
[Localizable(true)]
[RefreshProperties(RefreshProperties.Repaint)]
[C1Description("The image key in the ImageList.")]
[DefaultValue()]
[RelatedImageList("ImageList")]
public string ImageKey {get; set;}
[TypeConverter("System.Windows.Forms.ImageKeyConverter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Windows.Forms.Design.ImageIndexEditor, System.Design")]
[C1Category("表示")]
[Localizable(true)]
[RefreshProperties(RefreshProperties.Repaint)]
[C1Description("The image key in the ImageList.")]
[DefaultValue()]
[RelatedImageList("ImageList")]
public:
property String^ ImageKey {
   String^ get();
   void set (    String^ value);
}
See Also

Reference

C1ThumbButton Class
C1ThumbButton Members