Smart Gallery v1.1
 
Loading...
Searching...
No Matches
Frames Class Reference

The collection of frames in the gallery. More...

Inherits IList< Frame >.

Public Member Functions

void Add (Frame item)
 Adds a frame to the collection.
 
void Clear ()
 Clears the collection.
 
bool Contains (Frame item)
 Determines whether the collection contains a specific frame.
 
void CopyTo (Frame[] array, int arrayIndex)
 Copies the frames to an array, starting at a particular array index.
 
IEnumerator< FrameGetEnumerator ()
 Returns an enumerator that iterates through the collection.
 
int IndexOf (Frame item)
 Returns the index of the frame in the collection.
 
void Insert (int index, Frame item)
 Inserts a frame into the collection at the specified index.
 
bool Remove (Frame item)
 Removes the first occurrence of a specific frame from the collection.
 
void RemoveAt (int index)
 Removes the frame at the specified index.
 

Properties

int Count [get]
 The number of frames in the collection.
 
bool IsReadOnly [get]
 Whether the collection is read-only.
 
List< Frameitems [get]
 The frames in the collection.
 
Frame this[int index] [get, set]
 Gets or sets the frame at the specified index.
 

Detailed Description

The collection of frames in the gallery.

Member Function Documentation

◆ Add()

void Add ( Frame item)

Adds a frame to the collection.

Parameters
itemThe frame to add.

◆ Contains()

bool Contains ( Frame item)

Determines whether the collection contains a specific frame.

Parameters
itemThe frame to locate.
Returns
Whether the collection contains the frame.

◆ CopyTo()

void CopyTo ( Frame[] array,
int arrayIndex )

Copies the frames to an array, starting at a particular array index.

Parameters
arrayThe array to copy the frames to.
arrayIndexThe index in the array at which to start copying.

◆ GetEnumerator()

IEnumerator< Frame > GetEnumerator ( )

Returns an enumerator that iterates through the collection.

Returns
An enumerator that can be used to iterate through the collection.

◆ IndexOf()

int IndexOf ( Frame item)

Returns the index of the frame in the collection.

Parameters
itemThe frame to locate.
Returns
The index of the frame.

◆ Insert()

void Insert ( int index,
Frame item )

Inserts a frame into the collection at the specified index.

Parameters
indexThe index at which to insert the frame.
itemThe frame to insert.

◆ Remove()

bool Remove ( Frame item)

Removes the first occurrence of a specific frame from the collection.

Parameters
itemThe frame to remove.
Returns
Whether the frame was removed.

◆ RemoveAt()

void RemoveAt ( int index)

Removes the frame at the specified index.

Parameters
indexThe index of the frame to remove.

Property Documentation

◆ this[int index]

Frame this[int index]
getset

Gets or sets the frame at the specified index.

Parameters
indexThe index of the frame.