[]
        
(Showing Draft Content)

C1.Framework.C1BitmapIcon.-ctor

C1BitmapIcon Constructor

C1BitmapIcon()

Initializes a new instance of the C1BitmapIcon class.

Declaration
public C1BitmapIcon()
Public Sub New()

C1BitmapIcon(string)

Initializes a new instance of the C1BitmapIcon class.

Declaration
public C1BitmapIcon(string key)
Public Sub New(key As String)
Parameters
Type Name Description
string key

String used as a key to retrieve the image.

C1BitmapIcon(string, Size, Color, Image)

Initializes a new instance of the C1BitmapIcon class with specified key, size and color.

Declaration
public C1BitmapIcon(string key, Size size, Color color, Image image)
Public Sub New(key As String, size As Size, color As Color, image As Image)
Parameters
Type Name Description
string key

String used as a key to retrieve the image.

Size size

The icon size.

Color color

Indicates the icon color.

Image image

The image to show.

C1BitmapIcon(string, Size, Color, object, int)

Initializes a new instance of the C1BitmapIcon class with specified key, size and color.

Declaration
public C1BitmapIcon(string key, Size size, Color color, object imageList, int imageIndex)
Public Sub New(key As String, size As Size, color As Color, imageList As Object, imageIndex As Integer)
Parameters
Type Name Description
string key

String used as a key to retrieve the image.

Size size

The icon size.

Color color

Indicates the icon color.

object imageList

The image list which should be used to retrieve the image.

int imageIndex

The index of image in the image list.