Class ImageListView
Represents a listview control for image files.
Inheritance
Implements
Inherited Members
Namespace: Manina.Windows.Forms
Assembly: ImageListView.dll
Syntax
[ToolboxBitmap(typeof(ImageListView))]
[Docking(DockingBehavior.Ask)]
public class ImageListView : Control, UnsafeNativeMethods.IOleControl, UnsafeNativeMethods.IOleObject, UnsafeNativeMethods.IOleInPlaceObject, UnsafeNativeMethods.IOleInPlaceActiveObject, UnsafeNativeMethods.IOleWindow, UnsafeNativeMethods.IViewObject, UnsafeNativeMethods.IViewObject2, UnsafeNativeMethods.IPersist, UnsafeNativeMethods.IPersistStreamInit, UnsafeNativeMethods.IPersistPropertyBag, UnsafeNativeMethods.IPersistStorage, UnsafeNativeMethods.IQuickActivate, ISupportOleDropSource, IDropTarget, ISynchronizeInvoke, IWin32Window, IArrangedElement, IBindableComponent, IComponent, IDisposable
Constructors
| Improve this Doc View SourceImageListView()
Initializes a new instance of the ImageListView class.
Declaration
public ImageListView()
Properties
| Improve this Doc View SourceAllowCheckBoxClick
Gets or sets whether checkboxes respond to mouse clicks.
Declaration
public bool AllowCheckBoxClick { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowColumnClick
Gets or sets whether column headers respond to mouse clicks.
Declaration
public bool AllowColumnClick { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowColumnResize
Gets or sets whether column headers can be resized with the mouse.
Declaration
public bool AllowColumnResize { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowDrag
Gets or sets whether the user can drag items for drag-and-drop operations.
Declaration
public bool AllowDrag { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowDuplicateFileNames
Gets or sets whether duplicate items (image files pointing to the same path on the file system) are allowed.
Declaration
public bool AllowDuplicateFileNames { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowPaneResize
Gets or sets whether the left-pane can be resized with the mouse.
Declaration
public bool AllowPaneResize { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AutoRotateThumbnails
Gets or sets whether thumbnail images are automatically rotated.
Declaration
public bool AutoRotateThumbnails { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
BackColor
Gets or sets the background color of the control.
Declaration
public override Color BackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
Overrides
BorderStyle
Gets or sets the border style of the control.
Declaration
public BorderStyle BorderStyle { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Forms.BorderStyle |
CacheLimit
Gets or sets the cache limit as either the count of thumbnail images or the memory allocated for cache (e.g. 10MB).
Declaration
public string CacheLimit { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CacheMode
Gets or sets the cache mode. Setting the the CacheMode to Continuous disables the CacheLimit.
Declaration
public CacheMode CacheMode { get; set; }
Property Value
Type | Description |
---|---|
CacheMode |
CheckBoxAlignment
Gets or sets alignment of item checkboxes.
Declaration
public ContentAlignment CheckBoxAlignment { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.ContentAlignment |
CheckBoxPadding
Gets or sets item checkbox padding.
Declaration
public Size CheckBoxPadding { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Size |
CheckedItems
Gets the collection of checked items contained in the image list view.
Declaration
[Browsable(false)]
public ImageListView.ImageListViewCheckedItemCollection CheckedItems { get; }
Property Value
Type | Description |
---|---|
ImageListView.ImageListViewCheckedItemCollection |
Colors
Gets or sets the color palette of the ImageListView.
Declaration
public ImageListViewColor Colors { get; set; }
Property Value
Type | Description |
---|---|
ImageListViewColor |
ColumnHeaderFont
Gets or sets the font of the column headers.
Declaration
public Font ColumnHeaderFont { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Font |
Columns
Gets or sets the collection of columns of the image list view.
Declaration
public ImageListView.ImageListViewColumnHeaderCollection Columns { get; }
Property Value
Type | Description |
---|---|
ImageListView.ImageListViewColumnHeaderCollection |
DefaultImage
Gets or sets the placeholder image.
Declaration
public Image DefaultImage { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image |
DisplayRectangle
Gets the rectangle that represents the display area of the control.
Declaration
[Browsable(false)]
public override Rectangle DisplayRectangle { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Rectangle |
Overrides
EmptyRatingImage
Gets or sets the empty rating image.
Declaration
public Image EmptyRatingImage { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image |
Enabled
Gets or sets a value indicating whether the control can respond to user interaction. Cache threads are paused while the control is disabled and resumed when the control is enabled.
Declaration
[Browsable(true)]
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ErrorImage
Gets or sets the error image.
Declaration
public Image ErrorImage { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image |
GroupColumn
Gets or sets the index of the group column.
Declaration
public int GroupColumn { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
GroupHeaderFont
Gets or sets the font of the group headers.
Declaration
public Font GroupHeaderFont { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Font |
GroupOrder
Gets or sets the group order.
Declaration
public SortOrder GroupOrder { get; set; }
Property Value
Type | Description |
---|---|
SortOrder |
GroupsVisible
Gets whether groups are displayed.
Declaration
[Browsable(false)]
public bool GroupsVisible { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IconAlignment
Gets or sets alignment of file icons.
Declaration
public ContentAlignment IconAlignment { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.ContentAlignment |
IconPadding
Gets or sets file icon padding.
Declaration
public Size IconPadding { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Size |
IntegralScroll
Gets or sets whether scrollbars scroll by an amount which is a multiple of item height.
Declaration
[Browsable(true)]
public bool IntegralScroll { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Items
Gets the collection of items contained in the image list view.
Declaration
public ImageListView.ImageListViewItemCollection Items { get; }
Property Value
Type | Description |
---|---|
ImageListView.ImageListViewItemCollection |
MultiSelect
Gets or sets whether multiple items can be selected.
Declaration
public bool MultiSelect { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PaneWidth
Gets or sets the width of the left pane.
Declaration
public int PaneWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PersistentCacheDirectory
Gets or sets the path to the persistent cache file.
Declaration
[Browsable(false)]
public string PersistentCacheDirectory { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PersistentCacheSize
Gets or sets the size of the persistent cache file in MB.
Declaration
[Browsable(false)]
public long PersistentCacheSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
RatingImage
Gets or sets the rating image.
Declaration
public Image RatingImage { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image |
RetryOnError
Gets or sets whether the control will retry loading thumbnails on an error.
Declaration
public bool RetryOnError { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ScrollBars
Gets or sets whether the scrollbars should be shown.
Declaration
public bool ScrollBars { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SelectedItems
Gets the collection of selected items contained in the image list view.
Declaration
[Browsable(false)]
public ImageListView.ImageListViewSelectedItemCollection SelectedItems { get; }
Property Value
Type | Description |
---|---|
ImageListView.ImageListViewSelectedItemCollection |
ShellIconFallback
Gets or sets whether shell icons are displayed for non-image files.
Declaration
[Browsable(false)]
public bool ShellIconFallback { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShellIconFromFileContent
Gets or sets whether shell icons are extracted from the contents of icon and executable files. When set to false, the generic shell icon for the filename extension is extracted.
Declaration
[Browsable(false)]
public bool ShellIconFromFileContent { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShowCheckBoxes
Gets or sets whether to display the item checkboxes.
Declaration
public bool ShowCheckBoxes { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShowFileIcons
Gets or sets whether to display the file icons.
Declaration
public bool ShowFileIcons { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SortColumn
Gets or sets the index of the sort column.
Declaration
public int SortColumn { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SortOrder
Gets or sets the sort order.
Declaration
public SortOrder SortOrder { get; set; }
Property Value
Type | Description |
---|---|
SortOrder |
ThumbnailExtractor
Gets the thumbnail extractor.
Declaration
[Browsable(false)]
public IExtractor ThumbnailExtractor { get; }
Property Value
Type | Description |
---|---|
IExtractor |
ThumbnailSize
Gets or sets the size of image thumbnails.
Declaration
public Size ThumbnailSize { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Size |
UseEmbeddedThumbnails
Gets or sets the embedded thumbnails extraction behavior.
Declaration
public UseEmbeddedThumbnails UseEmbeddedThumbnails { get; set; }
Property Value
Type | Description |
---|---|
UseEmbeddedThumbnails |
UseWIC
Gets or sets whether the control uses WPF/WIC for thumbnail extraction.
Declaration
public bool UseWIC { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
View
Gets or sets the view mode of the image list view.
Declaration
public View View { get; set; }
Property Value
Type | Description |
---|---|
View |
Methods
| Improve this Doc View SourceCheckAll()
Marks all items as checked.
Declaration
public void CheckAll()
CheckWhere(Func<ImageListViewItem, Boolean>)
Marks all items that satisfy a condition as checked.
Declaration
public void CheckWhere(Func<ImageListViewItem, bool> predicate)
Parameters
Type | Name | Description |
---|---|---|
System.Func<ImageListViewItem, System.Boolean> | predicate |
ClearSelection()
Marks all items as unselected.
Declaration
public void ClearSelection()
ClearThumbnailCache()
Clears the thumbnail cache.
Declaration
public void ClearThumbnailCache()
DisableAll()
Marks all items as disabled.
Declaration
public void DisableAll()
DisableWhere(Func<ImageListViewItem, Boolean>)
Marks all items that satisfy a condition as disabled.
Declaration
public void DisableWhere(Func<ImageListViewItem, bool> predicate)
Parameters
Type | Name | Description |
---|---|---|
System.Func<ImageListViewItem, System.Boolean> | predicate |
Dispose(Boolean)
Releases the unmanaged resources used by the control and its child controls and optionally releases the managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Overrides
EnableAll()
Marks all items as enabled.
Declaration
public void EnableAll()
EnableWhere(Func<ImageListViewItem, Boolean>)
Marks all items that satisfy a condition as enabled.
Declaration
public void EnableWhere(Func<ImageListViewItem, bool> predicate)
Parameters
Type | Name | Description |
---|---|---|
System.Func<ImageListViewItem, System.Boolean> | predicate |
EnsureVisible(Int32)
Scrolls the image list view to ensure that the item with the specified index is visible on the screen.
Declaration
public bool EnsureVisible(int itemIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | itemIndex | The index of the item to make visible. |
Returns
Type | Description |
---|---|
System.Boolean | true if the item was made visible; otherwise false (item is already visible or the image list view is empty). |
FindString(String)
Finds the first item that starts with the specified string.
Declaration
public int FindString(string s)
Parameters
Type | Name | Description |
---|---|---|
System.String | s | The text to search for. |
Returns
Type | Description |
---|---|
System.Int32 | The zero-based index of the first item found; or -1 if no match is found. |
FindString(String, Int32)
Finds the first item that starts with the specified string.
Declaration
public int FindString(string s, int startIndex)
Parameters
Type | Name | Description |
---|---|---|
System.String | s | The text to search for. |
System.Int32 | startIndex | The zero-based index of the first item to be searched. Set to zero to search from the beginning of the control. |
Returns
Type | Description |
---|---|
System.Int32 | The zero-based index of the first item found; or -1 if no match is found. |
HitTest(Point, out ImageListView.HitInfo)
Determines the image list view element under the specified coordinates.
Declaration
public void HitTest(Point pt, out ImageListView.HitInfo hitInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | pt | The client coordinates of the point to be tested. |
ImageListView.HitInfo | hitInfo | Details of the hit test. |
InvertCheckState()
Reverses the check state of all items.
Declaration
public void InvertCheckState()
InvertSelection()
Reverses the selection state of all items.
Declaration
public void InvertSelection()
IsInputKey(Keys)
Handles the IsInputKey event.
Declaration
protected override bool IsInputKey(Keys keyData)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Keys | keyData | One of the System.Windows.Forms.Keys values. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified key is a regular input key; otherwise, false. |
Overrides
IsItemVisible(ImageListViewItem)
Determines whether the specified item is visible on the screen.
Declaration
public ItemVisibility IsItemVisible(ImageListViewItem item)
Parameters
Type | Name | Description |
---|---|---|
ImageListViewItem | item | The item to test. |
Returns
Type | Description |
---|---|
ItemVisibility | An ItemVisibility value. |
OnCacheError(CacheErrorEventArgs)
Raises the CacheError event.
Declaration
protected virtual void OnCacheError(CacheErrorEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
CacheErrorEventArgs | e | A CacheErrorEventArgs that contains event data. |
OnColumnClick(ColumnClickEventArgs)
Raises the ColumnClick event.
Declaration
protected virtual void OnColumnClick(ColumnClickEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ColumnClickEventArgs | e | A ColumnClickEventArgs that contains event data. |
OnColumnHover(ColumnHoverEventArgs)
Raises the ColumnHover event.
Declaration
protected virtual void OnColumnHover(ColumnHoverEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ColumnHoverEventArgs | e | A ColumnClickEventArgs that contains event data. |
OnColumnWidthChanged(ColumnEventArgs)
Raises the ColumnWidthChanged event.
Declaration
protected virtual void OnColumnWidthChanged(ColumnEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ColumnEventArgs | e | A ColumnEventArgs that contains event data. |
OnDragDrop(DragEventArgs)
Handles the DragDrop event.
Declaration
protected override void OnDragDrop(DragEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.DragEventArgs | e | A System.Windows.Forms.DragEventArgs that contains the event data. |
Overrides
OnDragEnter(DragEventArgs)
Handles the DragEnter event.
Declaration
protected override void OnDragEnter(DragEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.DragEventArgs | e | A System.Windows.Forms.DragEventArgs that contains the event data. |
Overrides
OnDragLeave(EventArgs)
Handles the DragLeave event.
Declaration
protected override void OnDragLeave(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs that contains the event data. |
Overrides
OnDragOver(DragEventArgs)
Handles the DragOver event.
Declaration
protected override void OnDragOver(DragEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.DragEventArgs | e | A System.Windows.Forms.DragEventArgs that contains the event data. |
Overrides
OnDropComplete(DropCompleteEventArgs)
Raises the DropComplete event.
Declaration
protected virtual void OnDropComplete(DropCompleteEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
DropCompleteEventArgs | e | A DropCompleteEventArgs that contains event data. |
OnDropFiles(DropFileEventArgs)
Raises the DropFiles event.
Declaration
protected virtual void OnDropFiles(DropFileEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
DropFileEventArgs | e | A DropFileEventArgs that contains event data. |
OnDropItems(DropItemEventArgs)
Raises the DropItems event.
Declaration
protected virtual void OnDropItems(DropItemEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
DropItemEventArgs | e | A DropItemEventArgs that contains event data. |
OnGotFocus(EventArgs)
Handles the GotFocus event.
Declaration
protected override void OnGotFocus(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs that contains the event data. |
Overrides
OnItemCheckBoxClick(ItemEventArgs)
Raises the ItemCheckBoxClick event.
Declaration
protected virtual void OnItemCheckBoxClick(ItemEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ItemEventArgs | e | A ItemEventArgs that contains event data. |
OnItemClick(ItemClickEventArgs)
Raises the ItemClick event.
Declaration
protected virtual void OnItemClick(ItemClickEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ItemClickEventArgs | e | A ItemClickEventArgs that contains event data. |
OnItemCollectionChanged(ItemCollectionChangedEventArgs)
Raises the ItemCollectionChanged event.
Declaration
protected virtual void OnItemCollectionChanged(ItemCollectionChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ItemCollectionChangedEventArgs | e | A ItemCollectionChangedEventArgs that contains event data. |
OnItemDoubleClick(ItemClickEventArgs)
Raises the ItemDoubleClick event.
Declaration
protected virtual void OnItemDoubleClick(ItemClickEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ItemClickEventArgs | e | A ItemClickEventArgs that contains event data. |
OnItemHover(ItemHoverEventArgs)
Raises the ItemHover event.
Declaration
protected virtual void OnItemHover(ItemHoverEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ItemHoverEventArgs | e | A ItemClickEventArgs that contains event data. |
OnKeyDown(KeyEventArgs)
Handles the KeyDown event.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.KeyEventArgs | e | A System.Windows.Forms.KeyEventArgs that contains the event data. |
Overrides
OnKeyUp(KeyEventArgs)
Handles the KeyUp event.
Declaration
protected override void OnKeyUp(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.KeyEventArgs | e | A System.Windows.Forms.KeyEventArgs that contains the event data. |
Overrides
OnLostFocus(EventArgs)
Handles the LostFocus event.
Declaration
protected override void OnLostFocus(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs that contains the event data. |
Overrides
OnMouseDoubleClick(MouseEventArgs)
Handles the MouseDoubleClick event.
Declaration
protected override void OnMouseDoubleClick(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e | An System.Windows.Forms.MouseEventArgs that contains the event data. |
Overrides
OnMouseDown(MouseEventArgs)
Handles the MouseDown event.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e | A System.Windows.Forms.MouseEventArgs that contains the event data. |
Overrides
OnMouseLeave(EventArgs)
Handles the MouseLeave event.
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs that contains the event data. |
Overrides
OnMouseMove(MouseEventArgs)
Handles the MouseMove event.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e | A System.Windows.Forms.MouseEventArgs that contains the event data. |
Overrides
OnMouseUp(MouseEventArgs)
Handles the MouseUp event.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e | A System.Windows.Forms.MouseEventArgs that contains the event data. |
Overrides
OnMouseWheel(MouseEventArgs)
Handles the MouseWheel event.
Declaration
protected override void OnMouseWheel(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e | A System.Windows.Forms.MouseEventArgs that contains the event data. |
Overrides
OnPaint(PaintEventArgs)
Handles the Paint event.
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | e | A System.Windows.Forms.PaintEventArgs that contains the event data. |
Overrides
OnPaneResized(PaneResizedEventArgs)
Raises the PaneReszied event.
Declaration
protected virtual void OnPaneResized(PaneResizedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
PaneResizedEventArgs | e | A PaneResizedEventArgs that contains event data. |
OnPaneResizing(PaneResizingEventArgs)
Raises the PaneResizing event.
Declaration
protected virtual void OnPaneResizing(PaneResizingEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
PaneResizingEventArgs | e | A PaneResizingEventArgs that contains event data. |
OnResize(EventArgs)
Handles the Resize event.
Declaration
protected override void OnResize(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs that contains the event data. |
Overrides
OnSelectionChanged(EventArgs)
Raises the SelectionChanged event.
Declaration
protected virtual void OnSelectionChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | A EventArgs that contains event data. |
OnThumbnailCached(ThumbnailCachedEventArgs)
Raises the ThumbnailCached event.
Declaration
protected virtual void OnThumbnailCached(ThumbnailCachedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ThumbnailCachedEventArgs | e | A ThumbnailCachedEventArgs that contains event data. |
OnThumbnailCaching(ThumbnailCachingEventArgs)
Raises the ThumbnailCaching event.
Declaration
protected virtual void OnThumbnailCaching(ThumbnailCachingEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ThumbnailCachingEventArgs | e | A ThumbnailCachingEventArgs that contains event data. |
ResetColors()
Resets the colors to their default value.
Declaration
public void ResetColors()
ResetDefaultImage()
Resets the default image to its default value.
Declaration
public void ResetDefaultImage()
ResetEmptyRatingImage()
Resets the empty rating image to its default value.
Declaration
public void ResetEmptyRatingImage()
ResetErrorImage()
Resets the error image to its default value.
Declaration
public void ResetErrorImage()
ResetHeaderFont()
Resets the header font to its default value.
Declaration
public void ResetHeaderFont()
ResetRatingImage()
Resets the rating image to its default value.
Declaration
public void ResetRatingImage()
ResumeLayout()
Resumes usual layout logic.
Declaration
public void ResumeLayout()
ResumeLayout(Boolean)
Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests.
Declaration
public void ResumeLayout(bool performLayout)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | performLayout | true to execute pending layout requests; otherwise, false. |
SelectAll()
Marks all items as selected.
Declaration
public void SelectAll()
SelectWhere(Func<ImageListViewItem, Boolean>)
Marks all items that satisfy a condition as selected.
Declaration
public void SelectWhere(Func<ImageListViewItem, bool> predicate)
Parameters
Type | Name | Description |
---|---|---|
System.Func<ImageListViewItem, System.Boolean> | predicate |
SetRenderer(ImageListView.ImageListViewRenderer)
Sets the renderer for this instance.
Declaration
public void SetRenderer(ImageListView.ImageListViewRenderer renderer)
Parameters
Type | Name | Description |
---|---|---|
ImageListView.ImageListViewRenderer | renderer | An ImageListView.ImageListViewRenderer to assign to the control. |
SetRenderer(ImageListView.ImageListViewRenderer, Boolean)
Sets the renderer for this instance.
Declaration
public void SetRenderer(ImageListView.ImageListViewRenderer renderer, bool keepColors)
Parameters
Type | Name | Description |
---|---|---|
ImageListView.ImageListViewRenderer | renderer | An ImageListView.ImageListViewRenderer to assign to the control. |
System.Boolean | keepColors | true to keep current colors; otherwise false. |
ShouldSerializeColors()
Determines if the colors should be serialized.
Declaration
public bool ShouldSerializeColors()
Returns
Type | Description |
---|---|
System.Boolean | true if the designer should serialize the property; otherwise false. |
ShouldSerializeDefaultImage()
Determines if the default image should be serialized.
Declaration
public bool ShouldSerializeDefaultImage()
Returns
Type | Description |
---|---|
System.Boolean | true if the designer should serialize the property; otherwise false. |
ShouldSerializeEmptyRatingImage()
Determines if the empty rating image should be serialized.
Declaration
public bool ShouldSerializeEmptyRatingImage()
Returns
Type | Description |
---|---|
System.Boolean | true if the designer should serialize the property; otherwise false. |
ShouldSerializeErrorImage()
Determines if the error image should be serialized.
Declaration
public bool ShouldSerializeErrorImage()
Returns
Type | Description |
---|---|
System.Boolean | true if the designer should serialize the property; otherwise false. |
ShouldSerializeHeaderFont()
Determines if the header font should be serialized.
Declaration
public bool ShouldSerializeHeaderFont()
Returns
Type | Description |
---|---|
System.Boolean | true if the designer should serialize the property; otherwise false. |
ShouldSerializeRatingImage()
Determines if the rating image should be serialized.
Declaration
public bool ShouldSerializeRatingImage()
Returns
Type | Description |
---|---|
System.Boolean | true if the designer should serialize the property; otherwise false. |
Sort()
Sorts the items.
Declaration
public void Sort()
SuspendLayout()
Temporarily suspends the layout logic for the control.
Declaration
public void SuspendLayout()
UncheckAll()
Marks all items as unchecked.
Declaration
public void UncheckAll()
UncheckWhere(Func<ImageListViewItem, Boolean>)
Marks all items that satisfy a condition as unchecked.
Declaration
public void UncheckWhere(Func<ImageListViewItem, bool> predicate)
Parameters
Type | Name | Description |
---|---|---|
System.Func<ImageListViewItem, System.Boolean> | predicate |
UnselectWhere(Func<ImageListViewItem, Boolean>)
Marks all items that satisfy a condition as unselected.
Declaration
public void UnselectWhere(Func<ImageListViewItem, bool> predicate)
Parameters
Type | Name | Description |
---|---|---|
System.Func<ImageListViewItem, System.Boolean> | predicate |
Events
| Improve this Doc View SourceCacheError
Occurs when an error occurs during an asynchronous cache operation.
Declaration
[Browsable(true)]
public event CacheErrorEventHandler CacheError
Event Type
Type | Description |
---|---|
Manina.Windows.Forms.CacheErrorEventHandler |
ColumnClick
Occurs when the user clicks a column header.
Declaration
[Browsable(true)]
public event ColumnClickEventHandler ColumnClick
Event Type
Type | Description |
---|---|
Manina.Windows.Forms.ColumnClickEventHandler |
ColumnHover
Occurs when the user moves the mouse over (and out of) a column header.
Declaration
[Browsable(true)]
public event ColumnHoverEventHandler ColumnHover
Event Type
Type | Description |
---|---|
Manina.Windows.Forms.ColumnHoverEventHandler |
ColumnWidthChanged
Occurs after the user successfully resized a column header.
Declaration
[Browsable(true)]
public event ColumnWidthChangedEventHandler ColumnWidthChanged
Event Type
Type | Description |
---|---|
Manina.Windows.Forms.ColumnWidthChangedEventHandler |
DropComplete
Occurs after items are dropped successfully.
Declaration
[Browsable(true)]
public event DropCompleteEventHandler DropComplete
Event Type
Type | Description |
---|---|
Manina.Windows.Forms.DropCompleteEventHandler |
DropFiles
Occurs after the user drops files on to the control.
Declaration
[Browsable(true)]
public event DropFilesEventHandler DropFiles
Event Type
Type | Description |
---|---|
Manina.Windows.Forms.DropFilesEventHandler |
DropItems
Occurs after the user drops items on to the control.
Declaration
[Browsable(true)]
public event DropItemsEventHandler DropItems
Event Type
Type | Description |
---|---|
Manina.Windows.Forms.DropItemsEventHandler |
ItemCheckBoxClick
Occurs when the user clicks an item checkbox.
Declaration
[Browsable(true)]
public event ItemCheckBoxClickEventHandler ItemCheckBoxClick
Event Type
Type | Description |
---|---|
Manina.Windows.Forms.ItemCheckBoxClickEventHandler |
ItemClick
Occurs when the user clicks an item.
Declaration
[Browsable(true)]
public event ItemClickEventHandler ItemClick
Event Type
Type | Description |
---|---|
Manina.Windows.Forms.ItemClickEventHandler |
ItemCollectionChanged
Occurs after the item collection is changed.
Declaration
[Browsable(true)]
public event ItemCollectionChangedEventHandler ItemCollectionChanged
Event Type
Type | Description |
---|---|
Manina.Windows.Forms.ItemCollectionChangedEventHandler |
ItemDoubleClick
Occurs when the user double-clicks an item.
Declaration
[Browsable(true)]
public event ItemDoubleClickEventHandler ItemDoubleClick
Event Type
Type | Description |
---|---|
Manina.Windows.Forms.ItemDoubleClickEventHandler |
ItemHover
Occurs when the user moves the mouse over (and out of) an item.
Declaration
[Browsable(true)]
public event ItemHoverEventHandler ItemHover
Event Type
Type | Description |
---|---|
Manina.Windows.Forms.ItemHoverEventHandler |
PaneResized
Occurs after the pane is resized.
Declaration
[Browsable(true)]
public event PaneResizedEventHandler PaneResized
Event Type
Type | Description |
---|---|
Manina.Windows.Forms.PaneResizedEventHandler |
PaneResizing
Occurs while the pane is being resized.
Declaration
[Browsable(true)]
public event PaneResizingEventHandler PaneResizing
Event Type
Type | Description |
---|---|
Manina.Windows.Forms.PaneResizingEventHandler |
SelectionChanged
Occurs when the selected items collection changes.
Declaration
[Browsable(true)]
public event EventHandler SelectionChanged
Event Type
Type | Description |
---|---|
System.EventHandler |
ThumbnailCached
Occurs after an item thumbnail is cached.
Declaration
[Browsable(true)]
public event ThumbnailCachedEventHandler ThumbnailCached
Event Type
Type | Description |
---|---|
Manina.Windows.Forms.ThumbnailCachedEventHandler |
ThumbnailCaching
Occurs before an item thumbnail is cached.
Declaration
[Browsable(true)]
public event ThumbnailCachingEventHandler ThumbnailCaching
Event Type
Type | Description |
---|---|
Manina.Windows.Forms.ThumbnailCachingEventHandler |