Softelvdm.Controls Class Library for Windows Controls 1.0

Image Property, CellBaseClass Class

Softel vdm, Inc.

Defines the image of the first ImagePartClass object found in the cell's parts collection.

Syntax      CellBaseClass Class (Softelvdm.Controls)

VB   

Public Property Image As Image

C#   

public Image Image { get; set; }

C++   

public: property Image^ Image {
        Image^ get();
        void set(Image^ value);
}

Property Value

The image of the first ImagePartClass object.

The default value is null/Nothing.

Comments

The Image property defines the image of the first ImagePartClass object found in the cell's parts collection.

If an application uses only one TextPartClass and one ImagePartClass object in each cell, it can access their contents directly using the Text and Image properties, instead of having to "remember" which object in the parts collection is the respective object. In addition, the TextPart and ImagePart properties are available to access these object.

When an image is assigned to the Image property, an ImagePartClass object is automatically added to the cell's parts collection, if one has not yet been added.

Version Information

Supported in version 1.0.
Products Table


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com