Show / Hide Table of Contents

Class ImageListView.ImageListViewGroup

Represents the collection of items in a group in an ImageListView control.

Inheritance
System.Object
ImageListView.ImageListViewGroup
Implements
System.Collections.Generic.IEnumerable<ImageListViewItem>
System.Collections.IEnumerable
System.IComparable<ImageListView.ImageListViewGroup>
Namespace: Manina.Windows.Forms
Assembly: ImageListView.dll
Syntax
public class ImageListViewGroup : IEnumerable<ImageListViewItem>, IEnumerable, IComparable<ImageListView.ImageListViewGroup>

Properties

| Improve this Doc View Source

Collapsed

Gets or sets whether the group is collapsed.

Declaration
public bool Collapsed { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

FirstItemIndex

Gets the index of the first item.

Declaration
public int FirstItemIndex { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ItemCount

Gets the item count.

Declaration
public int ItemCount { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

LastItemIndex

Gets the index of the last item.

Declaration
public int LastItemIndex { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Name

Gets the name of the group.

Declaration
public string Name { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

CompareTo(ImageListView.ImageListViewGroup)

Compares the current object with another object of the same type.

Declaration
public int CompareTo(ImageListView.ImageListViewGroup other)
Parameters
Type Name Description
ImageListView.ImageListViewGroup other

An object to compare with this object.

Returns
Type Description
System.Int32

A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the other parameter. Zero This object is equal to other. Greater than zero This object is greater than other.

| Improve this Doc View Source

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration
public IEnumerator<ImageListViewItem> GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<ImageListViewItem>

A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection.

| Improve this Doc View Source

ItemIndicesInRectangle(Rectangle, ScrollOrientation, Size)

Determines which items in the group intersect with the given selection rectangle.

Declaration
public List<int> ItemIndicesInRectangle(Rectangle rec, ScrollOrientation orientation, Size itemSize)
Parameters
Type Name Description
System.Drawing.Rectangle rec

The selection rectangle.

System.Windows.Forms.ScrollOrientation orientation

Scroll orientation of the owner control.

System.Drawing.Size itemSize

The size of one item including margins.

Returns
Type Description
System.Collections.Generic.List<System.Int32>

List of item indices.

Explicit Interface Implementations

| Improve this Doc View Source

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

An System.Collections.IEnumerator object that can be used to iterate through the collection.

Implements

System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.IComparable<T>
Back to top Copyright © 2018 Özgür Özçıtak