C# 클래스 Manina.Windows.Forms.ImageListView

상속: System.Windows.Forms.Control, IComponent
파일 보기 프로젝트 열기: oozcitak/imagelistview 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CanPaint bool
GetVisibleItems bool>.Dictionary
IsItemDirty bool
IsItemVisible ItemVisibility
IsItemVisible bool
OnCacheErrorInternal void
OnItemCheckBoxClickInternal void
OnSelectionChangedInternal void
OnThumbnailCachedInternal void
OnThumbnailCachingInternal void
Refresh void
Refresh void
Refresh void
ResumePaint void
SuspendPaint void
UpdateItemDetailsInternal void
hScrollBar_Scroll void
lazyRefreshTimer_Tick void
vScrollBar_Scroll void

공개 메소드들

메소드 설명
CheckAll ( ) : void

Marks all items as checked.

ClearSelection ( ) : void

Marks all items as unselected.

ClearThumbnailCache ( ) : void

Clears the thumbnail cache.

DisableAll ( ) : void

Marks all items as disabled.

EnableAll ( ) : void

Marks all items as enabled.

EnsureVisible ( int itemIndex ) : bool

Scrolls the image list view to ensure that the item with the specified index is visible on the screen.

FindString ( string s ) : int

Finds the first item that starts with the specified string.

FindString ( string s, int startIndex ) : int

Finds the first item that starts with the specified string.

HitTest ( Point pt, HitInfo &hitInfo ) : void

Determines the image list view element under the specified coordinates.

ImageListView ( ) : System

Initializes a new instance of the ImageListView class.

InvertCheckState ( ) : void

Reverses the check state of all items.

InvertSelection ( ) : void

Reverses the selection state of all items.

IsItemVisible ( ImageListViewItem item ) : ItemVisibility

Determines whether the specified item is visible on the screen.

ResetColors ( ) : void

Resets the colors to their default value.

ResetDefaultImage ( ) : void

Resets the default image to its default value.

ResetEmptyRatingImage ( ) : void

Resets the empty rating image to its default value.

ResetErrorImage ( ) : void

Resets the error image to its default value.

ResetHeaderFont ( ) : void

Resets the header font to its default value.

ResetRatingImage ( ) : void

Resets the rating image to its default value.

ResumeLayout ( ) : void

Resumes usual layout logic.

ResumeLayout ( bool performLayout ) : void

Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests.

SelectAll ( ) : void

Marks all items as selected.

SetRenderer ( ImageListViewRenderer renderer ) : void

Sets the renderer for this instance.

SetRenderer ( ImageListViewRenderer renderer, bool keepColors ) : void

Sets the renderer for this instance.

ShouldSerializeColors ( ) : bool

Determines if the colors should be serialized.

ShouldSerializeDefaultImage ( ) : bool

Determines if the default image should be serialized.

ShouldSerializeEmptyRatingImage ( ) : bool

Determines if the empty rating image should be serialized.

ShouldSerializeErrorImage ( ) : bool

Determines if the error image should be serialized.

ShouldSerializeHeaderFont ( ) : bool

Determines if the header font should be serialized.

ShouldSerializeRatingImage ( ) : bool

Determines if the rating image should be serialized.

Sort ( ) : void

Sorts the items.

SuspendLayout ( ) : void

Temporarily suspends the layout logic for the control.

UncheckAll ( ) : void

Marks all items as unchecked.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the control and its child controls and optionally releases the managed resources.

IsInputKey ( Keys keyData ) : bool

Handles the IsInputKey event.

OnCacheError ( Manina.Windows.Forms.CacheErrorEventArgs e ) : void

Raises the CacheError event.

OnColumnClick ( ColumnClickEventArgs e ) : void

Raises the ColumnClick event.

OnColumnHover ( Manina.Windows.Forms.ColumnHoverEventArgs e ) : void

Raises the ColumnHover event.

OnColumnWidthChanged ( Manina.Windows.Forms.ColumnEventArgs e ) : void

Raises the ColumnWidthChanged event.

OnDragDrop ( DragEventArgs e ) : void

Handles the DragDrop event.

OnDragEnter ( DragEventArgs e ) : void

Handles the DragEnter event.

OnDragLeave ( EventArgs e ) : void

Handles the DragLeave event.

OnDragOver ( DragEventArgs e ) : void

Handles the DragOver event.

OnDropFiles ( Manina.Windows.Forms.DropFileEventArgs e ) : void

Raises the DropFiles event.

OnGotFocus ( EventArgs e ) : void

Handles the GotFocus event.

OnItemCheckBoxClick ( Manina.Windows.Forms.ItemEventArgs e ) : void

Raises the ItemCheckBoxClick event.

OnItemClick ( Manina.Windows.Forms.ItemClickEventArgs e ) : void

Raises the ItemClick event.

OnItemCollectionChanged ( Manina.Windows.Forms.ItemCollectionChangedEventArgs e ) : void

Raises the ItemCollectionChanged event.

OnItemDoubleClick ( Manina.Windows.Forms.ItemClickEventArgs e ) : void

Raises the ItemDoubleClick event.

OnItemHover ( Manina.Windows.Forms.ItemHoverEventArgs e ) : void

Raises the ItemHover event.

OnKeyDown ( KeyEventArgs e ) : void

Handles the KeyDown event.

OnKeyUp ( KeyEventArgs e ) : void

Handles the KeyUp event.

OnLostFocus ( EventArgs e ) : void

Handles the LostFocus event.

OnMouseDoubleClick ( MouseEventArgs e ) : void

Handles the MouseDoubleClick event.

OnMouseDown ( MouseEventArgs e ) : void

Handles the MouseDown event.

OnMouseLeave ( EventArgs e ) : void

Handles the MouseLeave event.

OnMouseMove ( MouseEventArgs e ) : void

Handles the MouseMove event.

OnMouseUp ( MouseEventArgs e ) : void

Handles the MouseUp event.

OnMouseWheel ( MouseEventArgs e ) : void

Handles the MouseWheel event.

OnPaint ( PaintEventArgs e ) : void

Handles the Paint event.

OnPaneResized ( Manina.Windows.Forms.PaneResizedEventArgs e ) : void

Raises the PaneReszied event.

OnPaneResizing ( Manina.Windows.Forms.PaneResizingEventArgs e ) : void

Raises the PaneResizing event.

OnResize ( EventArgs e ) : void

Handles the Resize event.

OnSelectionChanged ( EventArgs e ) : void

Raises the SelectionChanged event.

OnThumbnailCached ( Manina.Windows.Forms.ThumbnailCachedEventArgs e ) : void

Raises the ThumbnailCached event.

OnThumbnailCaching ( Manina.Windows.Forms.ThumbnailCachingEventArgs e ) : void

Raises the ThumbnailCaching event.

비공개 메소드들

메소드 설명
CanPaint ( ) : bool

Determines if the control can be painted.

GetVisibleItems ( ) : bool>.Dictionary

Gets the guids of visible items.

IsItemDirty ( System.Guid guid ) : bool

Determines whether the specified item is modified.

IsItemVisible ( int itemIndex ) : ItemVisibility

Determines whether the specified item is visible on the screen.

IsItemVisible ( System.Guid guid ) : bool

Determines whether the specified item is visible on the screen.

OnCacheErrorInternal ( System.Guid guid, Exception error, CacheThread cacheThread ) : void

Raises the CacheError event. This method is invoked from the thumbnail thread.

OnItemCheckBoxClickInternal ( ImageListViewItem item ) : void

Raises the ItemCheckBoxClick event.

OnSelectionChangedInternal ( ) : void

Raises the SelectionChanged event.

OnThumbnailCachedInternal ( System.Guid guid, Image thumbnail, Size size, bool thumbnailImage ) : void

Raises the ThumbnailCached event. This method is invoked from the thumbnail thread.

OnThumbnailCachingInternal ( System.Guid guid, Size size ) : void

Raises the ThumbnailCaching event. This method is invoked from the thumbnail thread.

Refresh ( ) : void

Redraws the owner control.

Refresh ( bool force ) : void

Redraws the owner control.

Refresh ( bool force, bool lazy ) : void

Refreshes the control.

ResumePaint ( ) : void

Resumes painting. This call must be matched by a prior SuspendPaint call.

SuspendPaint ( ) : void

Suspends painting until a matching ResumePaint call is made.

UpdateItemDetailsInternal ( System.Guid guid, Utility details ) : void

Updates item details. This method is invoked from the item cache thread.

hScrollBar_Scroll ( object sender, ScrollEventArgs e ) : void

Handles the Scroll event of the hScrollBar control.

lazyRefreshTimer_Tick ( object sender, EventArgs e ) : void

Handles the Tick event of the lazyRefreshTimer control.

vScrollBar_Scroll ( object sender, ScrollEventArgs e ) : void

Handles the Scroll event of the vScrollBar control.

메소드 상세

CheckAll() 공개 메소드

Marks all items as checked.
public CheckAll ( ) : void
리턴 void

ClearSelection() 공개 메소드

Marks all items as unselected.
public ClearSelection ( ) : void
리턴 void

ClearThumbnailCache() 공개 메소드

Clears the thumbnail cache.
public ClearThumbnailCache ( ) : void
리턴 void

DisableAll() 공개 메소드

Marks all items as disabled.
public DisableAll ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases the unmanaged resources used by the control and its child controls and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; /// false to release only unmanaged resources.
리턴 void

EnableAll() 공개 메소드

Marks all items as enabled.
public EnableAll ( ) : void
리턴 void

EnsureVisible() 공개 메소드

Scrolls the image list view to ensure that the item with the specified index is visible on the screen.
public EnsureVisible ( int itemIndex ) : bool
itemIndex int The index of the item to make visible.
리턴 bool

FindString() 공개 메소드

Finds the first item that starts with the specified string.
public FindString ( string s ) : int
s string The text to search for.
리턴 int

FindString() 공개 메소드

Finds the first item that starts with the specified string.
public FindString ( string s, int startIndex ) : int
s string The text to search for.
startIndex int The zero-based index of the first /// item to be searched. Set to zero to search from the /// beginning of the control.
리턴 int

HitTest() 공개 메소드

Determines the image list view element under the specified coordinates.
public HitTest ( Point pt, HitInfo &hitInfo ) : void
pt Point The client coordinates of the point to be tested.
hitInfo HitInfo Details of the hit test.
리턴 void

ImageListView() 공개 메소드

Initializes a new instance of the ImageListView class.
public ImageListView ( ) : System
리턴 System

InvertCheckState() 공개 메소드

Reverses the check state of all items.
public InvertCheckState ( ) : void
리턴 void

InvertSelection() 공개 메소드

Reverses the selection state of all items.
public InvertSelection ( ) : void
리턴 void

IsInputKey() 보호된 메소드

Handles the IsInputKey event.
protected IsInputKey ( Keys keyData ) : bool
keyData Keys One of the values.
리턴 bool

IsItemVisible() 공개 메소드

Determines whether the specified item is visible on the screen.
public IsItemVisible ( ImageListViewItem item ) : ItemVisibility
item ImageListViewItem The item to test.
리턴 ItemVisibility

OnCacheError() 보호된 메소드

Raises the CacheError event.
protected OnCacheError ( Manina.Windows.Forms.CacheErrorEventArgs e ) : void
e Manina.Windows.Forms.CacheErrorEventArgs A CacheErrorEventArgs that contains event data.
리턴 void

OnColumnClick() 보호된 메소드

Raises the ColumnClick event.
protected OnColumnClick ( ColumnClickEventArgs e ) : void
e ColumnClickEventArgs A ColumnClickEventArgs that contains event data.
리턴 void

OnColumnHover() 보호된 메소드

Raises the ColumnHover event.
protected OnColumnHover ( Manina.Windows.Forms.ColumnHoverEventArgs e ) : void
e Manina.Windows.Forms.ColumnHoverEventArgs A ColumnClickEventArgs that contains event data.
리턴 void

OnColumnWidthChanged() 보호된 메소드

Raises the ColumnWidthChanged event.
protected OnColumnWidthChanged ( Manina.Windows.Forms.ColumnEventArgs e ) : void
e Manina.Windows.Forms.ColumnEventArgs A ColumnEventArgs that contains event data.
리턴 void

OnDragDrop() 보호된 메소드

Handles the DragDrop event.
protected OnDragDrop ( DragEventArgs e ) : void
e System.Windows.Forms.DragEventArgs A that contains the event data.
리턴 void

OnDragEnter() 보호된 메소드

Handles the DragEnter event.
protected OnDragEnter ( DragEventArgs e ) : void
e System.Windows.Forms.DragEventArgs A that contains the event data.
리턴 void

OnDragLeave() 보호된 메소드

Handles the DragLeave event.
protected OnDragLeave ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
리턴 void

OnDragOver() 보호된 메소드

Handles the DragOver event.
protected OnDragOver ( DragEventArgs e ) : void
e System.Windows.Forms.DragEventArgs A that contains the event data.
리턴 void

OnDropFiles() 보호된 메소드

Raises the DropFiles event.
protected OnDropFiles ( Manina.Windows.Forms.DropFileEventArgs e ) : void
e Manina.Windows.Forms.DropFileEventArgs A DropFileEventArgs that contains event data.
리턴 void

OnGotFocus() 보호된 메소드

Handles the GotFocus event.
protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
리턴 void

OnItemCheckBoxClick() 보호된 메소드

Raises the ItemCheckBoxClick event.
protected OnItemCheckBoxClick ( Manina.Windows.Forms.ItemEventArgs e ) : void
e Manina.Windows.Forms.ItemEventArgs A ItemEventArgs that contains event data.
리턴 void

OnItemClick() 보호된 메소드

Raises the ItemClick event.
protected OnItemClick ( Manina.Windows.Forms.ItemClickEventArgs e ) : void
e Manina.Windows.Forms.ItemClickEventArgs A ItemClickEventArgs that contains event data.
리턴 void

OnItemCollectionChanged() 보호된 메소드

Raises the ItemCollectionChanged event.
protected OnItemCollectionChanged ( Manina.Windows.Forms.ItemCollectionChangedEventArgs e ) : void
e Manina.Windows.Forms.ItemCollectionChangedEventArgs A ItemCollectionChangedEventArgs that contains event data.
리턴 void

OnItemDoubleClick() 보호된 메소드

Raises the ItemDoubleClick event.
protected OnItemDoubleClick ( Manina.Windows.Forms.ItemClickEventArgs e ) : void
e Manina.Windows.Forms.ItemClickEventArgs A ItemClickEventArgs that contains event data.
리턴 void

OnItemHover() 보호된 메소드

Raises the ItemHover event.
protected OnItemHover ( Manina.Windows.Forms.ItemHoverEventArgs e ) : void
e Manina.Windows.Forms.ItemHoverEventArgs A ItemClickEventArgs that contains event data.
리턴 void

OnKeyDown() 보호된 메소드

Handles the KeyDown event.
protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs A that contains the event data.
리턴 void

OnKeyUp() 보호된 메소드

Handles the KeyUp event.
protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs A that contains the event data.
리턴 void

OnLostFocus() 보호된 메소드

Handles the LostFocus event.
protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
리턴 void

OnMouseDoubleClick() 보호된 메소드

Handles the MouseDoubleClick event.
protected OnMouseDoubleClick ( MouseEventArgs e ) : void
e MouseEventArgs An that contains the event data.
리턴 void

OnMouseDown() 보호된 메소드

Handles the MouseDown event.
protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs A that contains the event data.
리턴 void

OnMouseLeave() 보호된 메소드

Handles the MouseLeave event.
protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
리턴 void

OnMouseMove() 보호된 메소드

Handles the MouseMove event.
protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs A that contains the event data.
리턴 void

OnMouseUp() 보호된 메소드

Handles the MouseUp event.
protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs A that contains the event data.
리턴 void

OnMouseWheel() 보호된 메소드

Handles the MouseWheel event.
protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs A that contains the event data.
리턴 void

OnPaint() 보호된 메소드

Handles the Paint event.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs A that contains the event data.
리턴 void

OnPaneResized() 보호된 메소드

Raises the PaneReszied event.
protected OnPaneResized ( Manina.Windows.Forms.PaneResizedEventArgs e ) : void
e Manina.Windows.Forms.PaneResizedEventArgs A PaneResizedEventArgs that contains event data.
리턴 void

OnPaneResizing() 보호된 메소드

Raises the PaneResizing event.
protected OnPaneResizing ( Manina.Windows.Forms.PaneResizingEventArgs e ) : void
e Manina.Windows.Forms.PaneResizingEventArgs A PaneResizingEventArgs that contains event data.
리턴 void

OnResize() 보호된 메소드

Handles the Resize event.
protected OnResize ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
리턴 void

OnSelectionChanged() 보호된 메소드

Raises the SelectionChanged event.
protected OnSelectionChanged ( EventArgs e ) : void
e System.EventArgs A EventArgs that contains event data.
리턴 void

OnThumbnailCached() 보호된 메소드

Raises the ThumbnailCached event.
protected OnThumbnailCached ( Manina.Windows.Forms.ThumbnailCachedEventArgs e ) : void
e Manina.Windows.Forms.ThumbnailCachedEventArgs A ThumbnailCachedEventArgs that contains event data.
리턴 void

OnThumbnailCaching() 보호된 메소드

Raises the ThumbnailCaching event.
protected OnThumbnailCaching ( Manina.Windows.Forms.ThumbnailCachingEventArgs e ) : void
e Manina.Windows.Forms.ThumbnailCachingEventArgs A ThumbnailCachingEventArgs that contains event data.
리턴 void

ResetColors() 공개 메소드

Resets the colors to their default value.
public ResetColors ( ) : void
리턴 void

ResetDefaultImage() 공개 메소드

Resets the default image to its default value.
public ResetDefaultImage ( ) : void
리턴 void

ResetEmptyRatingImage() 공개 메소드

Resets the empty rating image to its default value.
public ResetEmptyRatingImage ( ) : void
리턴 void

ResetErrorImage() 공개 메소드

Resets the error image to its default value.
public ResetErrorImage ( ) : void
리턴 void

ResetHeaderFont() 공개 메소드

Resets the header font to its default value.
public ResetHeaderFont ( ) : void
리턴 void

ResetRatingImage() 공개 메소드

Resets the rating image to its default value.
public ResetRatingImage ( ) : void
리턴 void

ResumeLayout() 공개 메소드

Resumes usual layout logic.
public ResumeLayout ( ) : void
리턴 void

ResumeLayout() 공개 메소드

Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests.
public ResumeLayout ( bool performLayout ) : void
performLayout bool true to execute pending layout requests; otherwise, false.
리턴 void

SelectAll() 공개 메소드

Marks all items as selected.
public SelectAll ( ) : void
리턴 void

SetRenderer() 공개 메소드

Sets the renderer for this instance.
public SetRenderer ( ImageListViewRenderer renderer ) : void
renderer ImageListViewRenderer An to assign to the control.
리턴 void

SetRenderer() 공개 메소드

Sets the renderer for this instance.
public SetRenderer ( ImageListViewRenderer renderer, bool keepColors ) : void
renderer ImageListViewRenderer An to assign to the control.
keepColors bool true to keep current colors; otherwise false.
리턴 void

ShouldSerializeColors() 공개 메소드

Determines if the colors should be serialized.
public ShouldSerializeColors ( ) : bool
리턴 bool

ShouldSerializeDefaultImage() 공개 메소드

Determines if the default image should be serialized.
public ShouldSerializeDefaultImage ( ) : bool
리턴 bool

ShouldSerializeEmptyRatingImage() 공개 메소드

Determines if the empty rating image should be serialized.
public ShouldSerializeEmptyRatingImage ( ) : bool
리턴 bool

ShouldSerializeErrorImage() 공개 메소드

Determines if the error image should be serialized.
public ShouldSerializeErrorImage ( ) : bool
리턴 bool

ShouldSerializeHeaderFont() 공개 메소드

Determines if the header font should be serialized.
public ShouldSerializeHeaderFont ( ) : bool
리턴 bool

ShouldSerializeRatingImage() 공개 메소드

Determines if the rating image should be serialized.
public ShouldSerializeRatingImage ( ) : bool
리턴 bool

Sort() 공개 메소드

Sorts the items.
public Sort ( ) : void
리턴 void

SuspendLayout() 공개 메소드

Temporarily suspends the layout logic for the control.
public SuspendLayout ( ) : void
리턴 void

UncheckAll() 공개 메소드

Marks all items as unchecked.
public UncheckAll ( ) : void
리턴 void