This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
ImageList Methods
The methods of the ImageList class are listed below. For a complete list of ImageList class members, see the ImageList Members topic.
Public:
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. |
Protected:
Event Hookup:
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