Softelvdm.Controls Class Library for Windows Controls 1.0

ImagePartClass Class

Softel vdm, Inc.

  ImagePartClass Class (Softelvdm.Controls Namespace)

An instance of the ImagePartClass class represents an image part.

Cells can contain one or several image parts (instances of the ImagePartClass). Each image part can operate independently with its own attributes and properties.

The Action event can be used to handle a mouse clicks on image parts.

SftTree/NET 2.0: It is also possible to handle the control's ItemClick event. If the Action event is used, the ItemClick event is not raised.

VB   

Public Class ImagePartClass Inherits GenericPartClass

C#   

public class ImagePartClass : GenericPartClass

C++   

public ref class ImagePartClass : public GenericPartClass


Public

Constructors

Properties

Fields

Methods

Events

Protected

Constructors

Properties

Fields

Methods

 


Public Constructors

Description

public constructorImagePartClass Constructor

Initializes a new instance of the ImagePartClass class.

   

Public Properties

Description

public propertyAngleinherited from Softelvdm.Controls.GenericPartClass

Defines the rotation of the part.

public propertyExplicitSize

Defines the explicit size of the image, which causes the image to be stretched or shrunk if needed.

public propertyHAligninherited from Softelvdm.Controls.GenericPartClass

Defines the horizontal alignment within the part's available space.

public propertyHoverImage

Defines the image used when the mouse cursor is located within the part.

public propertyHoverImageIndex

Defines the index of the image in the ImageList control used when the mouse cursor is located within the part.

public propertyImage

Defines the image.

public propertyImageIndex

Defines the index of the image in the ImageList control.

public propertyImageList

Defines the ImageList control containing the image.

public propertyOrientationinherited from Softelvdm.Controls.GenericPartClass

Returns the orientation of parts within a cell. This is defined by the cell or the owner of the cell.

public propertyPartAlignmentinherited from Softelvdm.Controls.GenericPartClass

Defines the part alignment of this part relative to its container and other parts.

public propertyPartOwnerinherited from Softelvdm.Controls.GenericPartClass

Returns the owner of the part, usually an object derived from CellBaseClass.

public propertyTagObjectinherited from Softelvdm.Controls.GenericPartClass

Defines application-specific data.

public propertyTagStringinherited from Softelvdm.Controls.GenericPartClass

Defines an application-specific string.

public propertyTransparentColorEnd

Defines the ending color of the range of transparent colors within the image.

public propertyTransparentColorStart

Defines the starting color of the range of transparent colors within the image.

public propertyVAligninherited from Softelvdm.Controls.GenericPartClass

Defines the vertical alignment within the part's available space.

public propertyVisibleAppearanceinherited from Softelvdm.Controls.GenericPartClass

Returns the visibility status of the part.

  

Public Methods

Description

public methodEqualsinherited from System.Object

Determines whether the specified Object is equal to the current Object.

public methodGetHashCodeinherited from System.Object

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.

public methodGetTypeinherited from System.Object

Gets the Type of the current instance.

public methodstatic / sharedReferenceEqualsinherited from System.Object

Determines whether the specified Object instances are the same instance.

public methodToStringinherited from System.Object

Returns a String that represents the current Object.

  

Public Event

Description

public eventActioninherited from Softelvdm.Controls.GenericPartClass

Occurs when a part's action event is triggered by the user.

  

Protected Methods

Description

protected methodCalcRotatedSizeinherited from Softelvdm.Controls.GenericPartClass

Calculates the size of the smallest rectangle that can contain the rotated rectangle of a given size, based on the part's Angle property.

protected methodCalcSize

Calculates the size of the image part.

protected methodCalcUnrotatedBaseWidthinherited from Softelvdm.Controls.GenericPartClass

Calculates the actual width of the part, based on the width of the rotated part's containing rectangle.

protected methodConsiderForOutlineinherited from Softelvdm.Controls.GenericPartClass

Defines whether the part is considered when calculating the outline rectangle of a cell.

protected methodCopy

Creates an identical copy of the part.

protected methodstatic / sharedCopyPartinherited from Softelvdm.Controls.GenericPartClass

Copies information from one part to another.

protected methodFinalizeinherited from System.Object

Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

protected methodGetVisibleinherited from Softelvdm.Controls.GenericPartClass

Returns the current visibility status of a part, based on the part's VisibleAppearance property.

protected methodMemberwiseCloneinherited from System.Object

Creates a shallow copy of the current Object.

protected methodOnContentChangedinherited from Softelvdm.Controls.GenericPartClass

Called when the contents of the part changed.

protected methodStrategyRoutine

Used to perform various actions the part supports, like rendering the part, hit-testing, determining its position and responding to mouse button clicks.

  

Version Information

Supported in version 1.0.
Products Table

See Also     Softelvdm.Controls Namespace


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