ICreate.Controls.Bars Send comments on this topic.
ImageKey Property
See Also 
ICreate.Controls.Bars Namespace > BarItemCommand Class : ImageKey Property






The key value of the image in the ImageList displayed on the left side of the BarItemCommand.

Syntax

Visual Basic (Declaration) 
Public Property ImageKey As String
Visual Basic (Usage)Copy Code
Dim instance As BarItemCommand
Dim value As String
 
instance.ImageKey = value
 
value = instance.ImageKey
C# 
public string ImageKey {get; set;}
Delphi 
public read-write property ImageKey: String; 
JScript 
public function get,set ImageKey : String
Managed Extensions for C++ 
public: __property string* get_ImageKey();
public: __property void set_ImageKey( 
   string* value
);
C++/CLI 
public:
property String^ ImageKey {
   String^ get();
   void set (String^ value);
}

Return Value

A System.String value, this property specifies the key value of the image, in the ImageList of the Parent Bar, to display on the left of the BarItemCommand. The empty string indicates that the ImageKey is not applicable. The default value is the empty string.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also