SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Initializes a new instance of the ImagePartClass class.
Class: ImagePartClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET
public ImagePartClass(); public ImagePartClass( Image Image ); public ImagePartClass( Image Image, Image HoverImage ); public ImagePartClass( ImageList ImageList, int ImageIndex, int HoverImageIndex, Size ExplicitSize, HAlignmentOptionalEnum HAlign, VAlignmentOptionalEnum VAlign ); public ImagePartClass( Image Image, Image HoverImage, Size ExplicitSize, HAlignmentOptionalEnum HAlign, VAlignmentOptionalEnum VAlign, Color TransparentColorStart, Color TransparentColorEnd );
Public Sub New() Public Sub New( ByVal Image As Image ) Public Sub New( ByVal Image As Image, ByVal HoverImage As Image ) Public Sub New( ByVal ImageList As ImageList, ByVal ImageIndex As Integer, ByVal HoverImageIndex As Integer, ByVal ExplicitSize As Size, ByVal HAlign As HAlignmentOptionalEnum, ByVal VAlign As VAlignmentOptionalEnum ) Public Sub New( ByVal Image As Image, ByVal HoverImage As Image, ByVal ExplicitSize As Size, ByVal HAlign As HAlignmentOptionalEnum, ByVal VAlign As VAlignmentOptionalEnum, ByVal TransparentColorStart As Color, ByVal TransparentColorEnd As Color )
Image
Defines the image (ImagePartClass.Image property).
HoverImage
Defines the image used when the mouse cursor is located within the part (ImagePartClass.HoverImage property). Specify null/Nothing to use the default image (Image parameter).
ImageList
Defines the ImageList control containing the image (ImagePartClass.ImageList property).
ImageIndex
Defines the index of the image in the ImageList control (ImagePartClass.ImageIndex property).
HoverImageIndex
Defines the index of the image used when the mouse cursor is located within the part (ImagePartClass.HoverImageIndex property). Specify -1 to use the default image (defined by the ImageList and ImageIndex parameter).
ExplicitSize
Defines the explicit size of the image, which causes the image to be stretched or shrunk if needed (ImagePartClass.ExplicitSize property). Specify Size.Empty to use the image's actual size.
HAlign
Defines the horizontal alignment of the image within the part's available space (GenericPartClass.HAlign property).
VAlign
Defines the vertical alignment of the image within the part's available space (GenericPartClass.VAlign property).
TransparentColorStart
Defines the starting color of the range of transparent colors within the image (ImagePartClass.TransparentColorStart property). Specify Color.Empty to omit the color range.
TransparentColorEnd
Defines the ending color of the range of transparent colors within the image (ImagePartClass.TransparentColorEnd property). Specify Color.Empty to omit the color range.
Initializes a new instance of the ImagePartClass class.
See Also ImagePartClass Class | Classes | SftTree/NET 2.0