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

Represents the layout of the image list view drawing area.
파일 보기 프로젝트 열기: oozcitak/imagelistview 1 사용 예제들

공개 메소드들

메소드 설명
GetCheckBoxBounds ( int itemIndex ) : Rectangle

Returns the item checkbox bounds. This method assumes a checkbox icon size of 16x16

GetIconBounds ( int itemIndex ) : Rectangle

Returns the item icon bounds. This method assumes an icon size of 16x16

GetItemBounds ( int itemIndex ) : Rectangle

Returns the bounds of the item with the specified index.

GetItemBoundsWithMargin ( int itemIndex ) : Rectangle

Returns the bounds of the item with the specified index, including the margin around the item.

ImageListViewLayoutManager ( ImageListView owner ) : System

Initializes a new instance of the ImageListViewLayoutManager class.

IsItemVisible ( System.Guid guid ) : bool

Determines whether the item with the given guid is (partially) visible.

Update ( ) : void

Recalculates the control layout.

Update ( bool forceUpdate ) : void

Recalculates the control layout. true to force an update; otherwise false.

비공개 메소드들

메소드 설명
CalculateGrid ( ) : void

Calculates the maximum number of rows and columns that can be fully displayed.

CheckScrollBars ( ) : bool

Shows or hides the scroll bars. Returns true if the layout needs to be recalculated; otherwise false.

GetWidgetBounds ( Rectangle bounds, Size size, Size padding, ContentAlignment alignment ) : Rectangle

Returns the bounds of a widget. Used to calculate the bounds of checkboxes and icons.

UpdateGroups ( ) : void

Updates the group display properties.

UpdateItemArea ( ) : bool

Calculates the item area.

UpdateScrollBars ( ) : void

Updates scroll bar parameters.

UpdateVisibleItems ( ) : void

Updates the dictionary of visible items.

메소드 상세

GetCheckBoxBounds() 공개 메소드

Returns the item checkbox bounds. This method assumes a checkbox icon size of 16x16
public GetCheckBoxBounds ( int itemIndex ) : Rectangle
itemIndex int
리턴 System.Drawing.Rectangle

GetIconBounds() 공개 메소드

Returns the item icon bounds. This method assumes an icon size of 16x16
public GetIconBounds ( int itemIndex ) : Rectangle
itemIndex int
리턴 System.Drawing.Rectangle

GetItemBounds() 공개 메소드

Returns the bounds of the item with the specified index.
public GetItemBounds ( int itemIndex ) : Rectangle
itemIndex int
리턴 System.Drawing.Rectangle

GetItemBoundsWithMargin() 공개 메소드

Returns the bounds of the item with the specified index, including the margin around the item.
public GetItemBoundsWithMargin ( int itemIndex ) : Rectangle
itemIndex int
리턴 System.Drawing.Rectangle

ImageListViewLayoutManager() 공개 메소드

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

IsItemVisible() 공개 메소드

Determines whether the item with the given guid is (partially) visible.
public IsItemVisible ( System.Guid guid ) : bool
guid System.Guid The guid of the item to check.
리턴 bool

Update() 공개 메소드

Recalculates the control layout.
public Update ( ) : void
리턴 void

Update() 공개 메소드

Recalculates the control layout. true to force an update; otherwise false.
public Update ( bool forceUpdate ) : void
forceUpdate bool
리턴 void