The ImageList non-visual component determines a link to a sprite (a set of images stored in the same file) and size of an image in the sprite.
The component returns the coordinates of a specific image by row and column index.
The ImageList component is used on creating the following components: ListBox, Menu.
The component is implemented by the ImageListclass.
Examples of component use are given in the IconListItem Constructor,Example of Creating the ListBox Component,ListBox.Orientation, Menu.ImageList pages.
| Constructor name | Brief description | |
| ImageList | The ImageList constructor creates an instance of the ImageList component. |
| Property name | Brief description | |
| IconHeight | The IconHeight property sets icon height. | |
| IconWidth | The IconWidth property sets icon width. | |
| IsRetinaAvailable | The IsRetinaAvailable property returns whether it is possible to work on a device with retina display. | |
| Source | The Source property determines the path to the icons set. |
| Method name | Brief description | |
| applyToBackground | The applyToBackground method sets the specified sprite image as a DOM element background. | |
| applyToCanvas | The applyToCanvas method renders the loaded image on the canvas. | |
| getIcon | The getIcon method returns icon by column or row index of list. | |
| getLeft | The getLeft method returns horizontal offset. | |
| getTop | The getTop method returns vertical offset. | |
| isImageLoaded | The isImageLoaded method returns image loading status. | |
| loadImage | The loadImage method loads an image for further rendering on the canvas. |
| Property name | Brief description | |
| The Id property determines a repository object identifier. |
| Method name | Brief description | |
| clone | The clone method creates an object copy. | |
| dispose | The dispose method deletes the component. | |
| getHashCode | The getHashCode method returns hash code of repository object. | |
| getSettings | The getSettings method returns repository object settings. | |
| getTypeName | The getTypeName method returns the name of the object type without the namespace, to which it belongs. | |
| isEqual | The isEqual method determines whether the specified object is equal to the current repository object. | |
| isLive | The isLive method determines validity of repository object. | |
| removeAllEvents | The removeAllEvents method removes all object event handlers by the specified context. | |
| setSettings | The setSettings method determines repository object settings. | |
| defineProps | The defineProps method creates get and set methods from name array for the specified class. | |
| keys | The keys method returns array of methods and properties names for the specified object. |
See also:
See also: