←Select platform

RasterThumbnailBrowser Class Members

Summary

The following tables list the members exposed by RasterThumbnailBrowser.

Public Constructors

Name Description
Public Constructor RasterThumbnailBrowser Initializes a new instance of the RasterThumbnailBrowser class.

Public Methods

Name Description
Public Method BeginUpdate Prevents the control from drawing until the RasterImageList.EndUpdate method is called.
Public Method CancelLoadingThumbnails Cancels the load operation at any time.
Public Method EndUpdate Resumes drawing of the control after drawing is suspended by the RasterImageList.BeginUpdate method.
Public Method EnsureVisible Ensures that the specified item is visible within the control, scrolling the contents of the control if necessary.
Public Method GetItemRectangle Retrieves the bounding rectangle for a specific item within the RasterImageList control.
Public Method HitTest Queries the specified location to determine if the point is over a RasterImageListItem.
Public Method LoadThumbnails Browses the specified directory for supported images, and generates thumbnails for each image file that is found.
Public Method Refresh Refresh loading thumbnails and generates new thumbnails for new files and remove thumbnails for deleted files
Public Method ScrollItems Scrolls the content of the control.
Public Method SelectAll Selects or un-selects all the items in this RasterImageList control.
Public Method Sort Sorts the items of the RasterImageList control.

Protected Methods

Name Description
Protected Method Dispose(Boolean) This member overrides Control.Dispose.
Protected Method IsInputKey This member overrides Control.IsInputKey.
Protected Method OnAddFile Raises the AddFile event.
Protected Method OnAutoDeselectItemsChanged Raises the RasterImageList.AutoDeselectItemsChanged event.
Protected Method OnAutoDisposeImagesChanged Raises the RasterImageList.AutoDisposeImagesChanged event.
Protected Method OnBorderStyleChanged Raises the RasterImageList.BorderStyleChanged event.
Protected Method OnChanged Fire the WatcherChanged event
Protected Method OnCodecsChanged Raises the CodecsChanged event.
Protected Method OnDoubleBufferChanged Raises the RasterImageList.DoubleBufferChanged event.
Protected Method OnDrawItem Raises the RasterImageList.DrawItem event.
Protected Method OnEnableKeyboardChanged Raises the RasterImageList.EnableKeyboardChanged event.
Protected Method OnEnableRubberBandSelectionChanged Raises the RasterImageList.EnableRubberBandSelectionChanged event.
Protected Method OnErrorThumbnailChanged Raises the ErrorThumbnailChanged event.
Protected Method OnFinishedLoadingThumbnails Raises the FinishedLoadingThumbnails event.
Protected Method OnItemBackColorChanged Raises the RasterImageList.ItemBackColorChanged event.
Protected Method OnItemBorderStyleChanged Raises the RasterImageList.ItemBorderStyleChanged event.
Protected Method OnItemForeColorChanged Raises the RasterImageList.ItemForeColorChanged event.
Protected Method OnItemImageBorderStyleChanged Raises the RasterImageList.ItemImageBorderStyleChanged event.
Protected Method OnItemImageSizeChanged Raises the RasterImageList.ItemImageSizeChanged event.
Protected Method OnItemSelectedBackColorChanged Raises the RasterImageList.ItemSelectedBackColorChanged event.
Protected Method OnItemSelectedForeColorChanged Raises the RasterImageList.ItemSelectedForeColorChanged event.
Protected Method OnItemSizeChanged Raises the RasterImageList.ItemSizeChanged event.
Protected Method OnItemSpacingSizeChanged Raises the RasterImageList.ItemSpacingSizeChanged event.
Protected Method OnKeyDown This member overrides Control.OnKeyDown.
Protected Method OnLoadingThumbnailChanged Raises the LoadingThumbnailChanged event.
Protected Method OnLoadThumbnail Raises the LoadThumbnail event.
Protected Method OnLostFocus This member overrides Control.OnLostFocus.
Protected Method OnMouseDown This member overrides Control.OnMouseDown.
Protected Method OnMouseMove This member overrides Control.OnMouseMove.
Protected Method OnMouseUp This member overrides Control.OnMouseUp.
Protected Method OnPaint This member overrides Control.OnPaint.
Protected Method OnPaintPropertiesChanged Raises the RasterImageList.PaintPropertiesChanged event.
Protected Method OnRefreshStatus Fire the RefreshStatus event
Protected Method OnRenamed Fire the WatcherRenamed event
Protected Method OnScroll Raises the RasterImageList.Scroll event.
Protected Method OnScrollStyleChanged Raises the RasterImageList.ScrollStyleChanged event.
Protected Method OnSelectedIndexChanged Raises the RasterImageList.SelectedIndexChanged event.
Protected Method OnSelectionModeChanged Raises the RasterImageList.SelectionModeChanged event.
Protected Method OnSelectUserImageChanged Raises the RasterImageList.SelectUserImageChanged event.
Protected Method OnShowItemTextChanged Raises the ShowItemTextChanged event.
Protected Method OnSizeChanged This member overrides Control.OnSizeChanged.
Protected Method OnSorterChanged Raises the SorterChanged event.
Protected Method OnSortingChanged Raises the SortingChanged event.
Protected Method OnThumbnailSizeFlagsChanged Raises the ThumbnailSizeFlagsChanged event.
Protected Method OnUseDpiChanged Raises the UseDpiChanged event.
Protected Method OnViewStyleChanged Raises the ViewStyleChanged event.
Protected Method WndProc This member overrides Control.WndProc.

Public Properties

Name Description
Public Property AutoDeselectItems Enables or disables de-selecting items when mouse button is clicked.
Public Property AutoDisposeImages Gets or sets a value indicating whether to automatically dispose item images.
Public Property BorderStyle Gets or sets the border style of the control.
Public Property Codecs Gets or sets the Leadtools.Codecs.RasterCodecs object used to load the thumbnail images.
Public Property DoubleBuffer Enables or disables double buffer painting, which eliminates flicker.
Public Property EnableBrowserWatcher Enable system watcher for the paths that specified when call LoadThumbnails(String,String,RasterThumbnailBrowserLoadFlags) method
Public Property EnableKeyboard Gets or sets a value indicating whether the control automatically processes the keyboard.
Public Property EnableRubberBandSelection Enables or disables rubber band selection in the RasterImageList.
Public Property ErrorThumbnail Gets or sets the image used to display items that could not be loaded.
Public Property FullVisibleColumns Gets the number of currently full-visible item columns in the control.
Public Property FullVisibleRows Gets the number of currently full-visible item rows in the control.
Public Property IsLoadingThumbnails Determines if the control is still loading thumbnails in the background.
Public Property ItemBackColor Gets or sets the item background color of the un-selected items in this RasterImageList
Public Property ItemBorderStyle Gets or sets the border style to draw around the RasterImageListItem in the control.
Public Property ItemForeColor Gets or sets the foreground color of the un-selected items in this RasterImageList
Public Property ItemImageBorderStyle Gets or sets the border style to draw around the image of an RasterImageListItem in the control.
Public Property ItemImageSize Gets or sets the maximum size of the image of each RasterImageListItem in the control.
Public Property Items Gets a collection containing all items in the control.
Public Property ItemSelectedBackColor Gets or sets the item background color of the selected items in this RasterImageList.
Public Property ItemSelectedForeColor Gets or sets the foreground color of the selected items in this RasterImageList.
Public Property ItemSize Gets or sets the size of each RasterImageListItem in the control.
Public Property ItemSpacingSize Gets or sets the amount of space between adjacent items in the control.
Public Property LoadingThumbnail Gets or sets the image used to display items that have not yet been loaded.
Public Property LoadStamp Gets or sets a value which indicates whether to attempt to load stamps from file formats that support preview images during RasterThumbnailBrowser.LoadThumbnails.
Public Property PaintProperties Gets or sets the Leadtools.Drawing.RasterPaintProperties which controls the painting of item images in this control.
Public Property ScrollStyle Specifies the direction the RasterImageList Control scrolls the displayed items.
Public Property SelectedItems Gets the items that are selected in the control.
Public Property SelectionMode Gets or sets whether automatic item selection is allowed.
Public Property SelectUserImage Gets or sets a user-defined image to use as the selection marker.
Public Property ShowItemText Indicates whether the item text is shown in the control.
Public Property Site This member overrides the Control.Site property.
Public Property Sorter Gets or sets the sorting comparer for the control.
Public Property Sorting Gets or sets the sort order for items in the control.
Public Property ThumbnailSizeFlags Controls the quality of the thumbnail images created by the control.
Public Property TopIndex Gets or sets the index of the first visible item in the control.
Public Property TotalColumns Gets the number of total item columns in the control.
Public Property TotalRows Gets the number of total item rows in the control.
Public Property UseDpi Gets or sets a value that indicates whether LEAD's automated scaling properties are used to account for the physical resolution of the bitmap.
Public Property ViewStyle Gets or sets how items are displayed in the control.
Public Property VisibleColumns Gets the number of currently full or partial -visible item columns in the control.
Public Property VisibleRows Gets the number of currently full or partial -visible item rows in the control.

Protected Properties

Name Description
Protected Property CreateParams This member overrides Control.CreateParams.
Protected Property IsSorting Gets a value indicating whether this RasterImageList is currently sorting.

Public Events

Name Description
Public Event AddFile Occurs once for each image file loaded into the RasterThumbnailBrowser.
Public Event CodecsChanged Occurs when the value of the Codecs property changes.
Public Event ErrorThumbnailChanged Occurs when the value of the ErrorThumbnail property changes.
Public Event FinishedLoadingThumbnails Occurs when the loading operation finishes.
Public Event LoadingThumbnailChanged Occurs when the value of the LoadingThumbnail property changes.
Public Event LoadThumbnail Occurs when the control loads the thumbnail of an item.
Public Event RefreshStatus Occurs when a file in the specified Path is changed or added
Public Event ThumbnailSizeFlagsChanged Occurs when the value of the ThumbnailSizeFlags property changes.
Public Event WatcherChanged Occurs when a file in the specified Path is changed or added
Public Event WatcherRenamed Occurs when a file or directory in the specified Path is renamed.

Public Fields

Name Description
Public Field AutoDeselectItemsChanged Occurs when the value of the AutoDeselectItems property changes.
Public Field AutoDisposeImagesChanged Occurs when the value of the AutoDisposeImages property changes.
Public Field BorderStyleChanged Occurs when the value of the BorderStyle property changes.
Public Field DoubleBufferChanged Occurs when the value of the DoubleBuffer property changes.
Public Field DrawItem Occurs when a request is made to draw an item in an owner-drawn RasterImageList.
Public Field EnableKeyboardChanged Occurs when the value of the EnableKeyboard property changes.
Public Field EnableRubberBandSelectionChanged Occurs when the value of the EnableRubberBandSelection property changes.
Public Field ItemBackColorChanged Occurs when the value of the ItemBackColor property changes.
Public Field ItemBorderStyleChanged Occurs when the value of the ItemBorderStyle property changes.
Public Field ItemForeColorChanged Occurs when the value of the ItemForeColor property changes.
Public Field ItemImageBorderStyleChanged Occurs when the value of the ItemImageBorderStyle property changes.
Public Field ItemImageSizeChanged Occurs when the value of the ItemImageSize property changes.
Public Field ItemSelectedBackColorChanged Occurs when the value of the ItemSelectedBackColor property changes.
Public Field ItemSelectedForeColorChanged Occurs when the value of the ItemSelectedForeColor property changes.
Public Field ItemSizeChanged Occurs when the value of the ItemSize property changes.
Public Field ItemSpacingSizeChanged Occurs when the value of the ItemSpacingSize property changes.
Public Field PaintBackground Occurs when the background of the control is redrawn.
Public Field PaintPropertiesChanged Occurs when the value of the PaintProperties property changes.
Public Field Scroll Occurs when the content of control is scrolled.
Public Field ScrollStyleChanged Occurs when the value of the ScrollStyle property changes.
Public Field SelectedIndexChanged Occurs when the index of the selected item in the RasterImageList control changes.
Public Field SelectionModeChanged Occurs when the value of the SelectionMode property changes.
Public Field SelectUserImageChanged Occurs when the value of the SelectUserImage property changes.
Public Field ShowItemTextChanged Occurs when the value of the ShowItemText property changes.
Public Field SorterChanged Occurs when the value of the Sorter property changes.
Public Field SortingChanged Occurs when the value of the Sorting property changes.
Public Field UseDpiChanged Occurs when the value of the UseDpi property changes.
Public Field ViewStyleChanged Occurs when the value of the ViewStyle property changes.

See Also

RasterThumbnailBrowser Class

Leadtools.WinForms Namespace

Help Version 22.0.2023.2.9
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.