This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
ImageList Members
Public:
Constructor
Properties
ColorDepth |
Retrieves the color depth of the imagelist. |
Handle |
The handle of the ImageList object. This corresponds to a win32 HIMAGELIST Handle. |
HandleCreated |
Whether or not the underlying Win32 handle has been created. |
Images |
[To be supplied.] |
ImageSize |
Returns the size of the images in the ImageList |
ImageStream |
Returns an ImageListStreamer, or null if the image list is empty. |
Site (inherited from MarshalByRefComponent) |
Gets or sets the site of the component. |
TransparentColor |
The color to treat as transparent. |
Methods
Dispose (inherited from MarshalByRefComponent) |
Disposes of the component. Call dispose when the component is no longer needed. This method removes the component from its container (if the component has a site) and triggers the dispose event. |
Draw |
Overloaded. [To be supplied.] |
DrawImage |
Draw the image indicated by the given index using the location, size and raster op code specified. The image is stretched or compressed as necessary to fit the bounds provided. |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetBitmap |
Returns the image specified by the given index. The bitmap returned is a copy of the original image. |
GetContainer (inherited from MarshalByRefComponent) |
Returns the component's container. |
GetDesignMode (inherited from MarshalByRefComponent) |
Determines whether the component is currently in design mode. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetLifetimeService (inherited from MarshalByRefObject) |
This method is used return a lifetime service object that is used to control the lifetime policy to the object. For the default Lifetime service this will be an object of type ILease. |
GetServiceObject (inherited from MarshalByRefComponent) |
The implementation of IServiceObjectProvider |
GetType (inherited from Object) |
Gets the Type of the Object. |
InitializeLifetimeService (inherited from MarshalByRefObject) |
|
RemoveImage |
Remove the image specified by the given index. |
ShouldPersistImageSize |
[To be supplied.] |
ShouldPersistTransparentColor |
[To be supplied.] |
ToString (inherited from MarshalByRefComponent) |
Basic Implementation of toString() for all controls. |
Events
Protected:
Methods
Event Hookup:
Methods
AddOnRecreateHandle |
Adds an event handler for the RecreateHandle event, which occurs when the underlying HIMAGELIST is recreated. |
RemoveOnRecreateHandle |
Removes the given handler for the "RecreateHandle" event. If there are duplicate entries, ALL are removed. |
See Also
ImageList Class | System.WinForms Namespace