Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ImagePart Property, CellBaseClass Class

Returns the first ImagePartClass object of the cell's parts collection.

Class: CellBaseClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET

Syntax

public ImagePartClass ImagePart { get; }
Public ReadOnly Property ImagePart As ImagePartClass

Value

The ImagePartClass object.

Comments

Returns the first ImagePartClass object of the cell's parts collection.

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

See Also CellBaseClass Class | Classes | SftTree/NET 2.0