ImGearThumbnailCtl Class Members
In This Topic
The following tables list the members exposed by ImGearThumbnailCtl.
Public Constructors
Public Properties
| Name | Description |
 | AllPages | Gets or sets a value indicating whether all pages of a multi-page image (e.g., a multi-frame GIF or TIFF file) will be loaded into thumbnails, or whether only the first page will be loaded. |
 | AutoFocus | Gets or sets a value indicating whether to automatically grab focus. |
 | AutoScroll | Overridden. Gets or sets a value indicating whether or not the vertical scrollbar appears when all the items don't fit into the Thumbnail control. |
 | BackColor | Overridden. Gets or sets the background color of the Thumbnail control. |
 | BorderStyle | Gets or sets border style of the Thumbnail control. |
 | BorderWidth | Gets or sets border width in pixels around the thumbnail. The border is drawn with the color specified by ForeColor. |
 | Count | Gets the number of items within the Thumbnail control, and thus also the number of ImGearThumbnailItem objects available for Item method. |
 | DragDropOptions | Gets or sets a value indicating whether the thumbnail browser can be a Drag source, Drop target or both. |
 | Flat | Gets or sets a value indicating whether the thumbnail item will appear flat or three dimensional. |
 | Font | Overridden. Gets or sets the font used for rendering titles under the thumbnail items. |
 | ForeColor | Overridden. Gets or sets color to use for rendering titles under those thumbnail items that are neither selected nor highlighted. |
 | HighlightBackColor | Gets or sets the background color used for the Title of highlighted Thumbnail items. |
 | HighlightForeColor | Gets or sets the foreground color used for the Title of highlighted Thumbnail items. |
 | Interior | Gets or sets the amount of extra space, in pixels, to place around the thumbnail item image inside the "button". |
 | ItemHeight | Gets or sets item height in pixels of the image to be drawn in each thumbnail item. |
 | ItemWidth | Gets or sets item width in pixels of the image to be drawn in each thumbnail item. |
 | LeftMargin | Gets or sets the amount of extra space, in pixels, to leave between the left edge of the control and the left-most item drawn inside the control. |
 | MultiSelect | Gets or sets a value indicating whether multiple selection is allowed. |
 | RightToLeft | Overridden. Gets or sets a value indicating whether text appears right to left. Inerhited property not supported by thumbnail control. |
 | SelectionBackColor | Gets or sets background color used for the Title of selected Thumbnail items. |
 | SelectionForeColor | Gets or sets foreground color used for the Title of selected Thumbnail items. |
 | ShadowWidth | Gets or sets the width of the 3D appearance for every item if the Flat property is set to true. |
 | ShowMagnify | Gets or sets a value indicating whether to see a larger popup image for the thumbnail when pressing the right-mouse-button down. |
 | ShowTitles | Gets or sets a value indicating whether a title is shown for each thumbnail, below the button. |
 | Sort | Gets or sets what sorting (none, title ascending, title descending, user-defined) is used when a new item is added. |
 | SortComparer | Gets or sets IComparer used when Sort property is set to UserSort. You should provide a class implementing IComparer interface for custom sorting. |
 | TitleFont | Gets or sets a font for items. |
 | TitleHeight | Gets or sets height for the item title. |
 | TopMargin | Gets or sets the amount of extra space, in pixels, to leave between the top edge of the control and the top-most item drawn inside the control. |
 | XSpacing | Gets or sets the amount of horizontal space between thumbnails displayed on the control, in pixels. |
 | YSpacing | Gets or sets the amount of vertical space between thumbnails displayed on the control, in pixels. |
 | ZoomFactor | Gets or sets the amount of zoom-in to use when displaying the magnified popup image. |
Top
Public Methods
| Name | Description |
 | DeleteAllItems | Removes all the items from the Thumbnail control. |
 | DeleteItem | Removes specified item from the Thumbnail control. |
 | DirectoryAppend | Creates a series of thumbnail items (either one per file, or one per page per file), by scanning through the specified directory and selecting all of the files matching the specifying filters. |
 | DocumentAppend | Appends ImageGear document to the Thumbnail control. |
 | FileAppend | Appends a file specified by selection to the Thumbnail control. |
 | Item | Returns ImGearThumbnailItem object by given index. |
 | PageAppend | Appends ImageGear.Core.ImGearPage class object to the Thumbnail control. |
 | ReloadAll | Reloads all thumbnails in the Thumbnail control. |
 | ReloadItem | Reloads thumbnail picture in the specified thumbnail item. |
Top
Public Events
| Name | Description |
 | ItemAfterCreate | Called after a new thumbnail item is added to the Thumbnail control. |
 | ItemAfterLoad | Called after a new thumbnail item is added to the Thumbnail control. |
 | ItemBeforeDelete | Called as each thumbnail item is removed from the control, before the item is removed from the items collection. |
 | ItemBeforeLoad | Called during the process of creating a thumbnail item. This event is raised before the image has been loaded into ImageGear.Core.ImGearPage class object. |
 | ItemClicked | Called to indicate that the user clicked somewhere within the thumbnail control. |
 | ItemDoubleClicked | Called to indicate that the user double-clicked somewhere within the thumbnail control. |
Top
See Also