Show / Hide Table of Contents

Class NavigatableList<T>

Collection class that allows for navigation forwards or backwards through the collection elements

Inheritance
object
List<T>
NavigatableList<T>
Implements
IList<T>
ICollection<T>
IReadOnlyList<T>
IReadOnlyCollection<T>
IEnumerable<T>
IList
ICollection
IEnumerable
Inherited Members
List<T>.Add(T)
List<T>.AddRange(IEnumerable<T>)
List<T>.AsReadOnly()
List<T>.BinarySearch(int, int, T, IComparer<T>)
List<T>.BinarySearch(T)
List<T>.BinarySearch(T, IComparer<T>)
List<T>.Clear()
List<T>.Contains(T)
List<T>.ConvertAll<TOutput>(Converter<T, TOutput>)
List<T>.CopyTo(int, T[], int, int)
List<T>.CopyTo(T[])
List<T>.CopyTo(T[], int)
List<T>.EnsureCapacity(int)
List<T>.Exists(Predicate<T>)
List<T>.Find(Predicate<T>)
List<T>.FindAll(Predicate<T>)
List<T>.FindIndex(int, int, Predicate<T>)
List<T>.FindIndex(int, Predicate<T>)
List<T>.FindIndex(Predicate<T>)
List<T>.FindLast(Predicate<T>)
List<T>.FindLastIndex(int, int, Predicate<T>)
List<T>.FindLastIndex(int, Predicate<T>)
List<T>.FindLastIndex(Predicate<T>)
List<T>.ForEach(Action<T>)
List<T>.GetEnumerator()
List<T>.GetRange(int, int)
List<T>.IndexOf(T)
List<T>.IndexOf(T, int)
List<T>.IndexOf(T, int, int)
List<T>.Insert(int, T)
List<T>.InsertRange(int, IEnumerable<T>)
List<T>.LastIndexOf(T)
List<T>.LastIndexOf(T, int)
List<T>.LastIndexOf(T, int, int)
List<T>.Remove(T)
List<T>.RemoveAll(Predicate<T>)
List<T>.RemoveAt(int)
List<T>.RemoveRange(int, int)
List<T>.Reverse()
List<T>.Reverse(int, int)
List<T>.Slice(int, int)
List<T>.Sort()
List<T>.Sort(IComparer<T>)
List<T>.Sort(Comparison<T>)
List<T>.Sort(int, int, IComparer<T>)
List<T>.ToArray()
List<T>.TrimExcess()
List<T>.TrueForAll(Predicate<T>)
List<T>.Capacity
List<T>.Count
List<T>.this[int]
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Benday.Presentation
Assembly: Benday.Presentation.dll
Syntax
public class NavigatableList<T> : List<T>, IList<T>, ICollection<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable
Type Parameters
Name Description
T

Properties

| Edit this page View Source

CurrentIndex

Gets or sets the current index.

Declaration
public int CurrentIndex { get; }
Property Value
Type Description
int
| Edit this page View Source

IsAtFirst

Returns true if the current index is at the first element in the collection.

Declaration
public bool IsAtFirst { get; }
Property Value
Type Description
bool
| Edit this page View Source

IsAtLast

Returns true if the current index is at the last element in the collection.

Declaration
public bool IsAtLast { get; }
Property Value
Type Description
bool
| Edit this page View Source

Value

Gets the current value. Returns default(T) if the current index is -1 or out of bounds for the collection.

Declaration
public T? Value { get; }
Property Value
Type Description
T

Methods

| Edit this page View Source

MoveToFirst()

Move to the first element in the collection.

Declaration
public void MoveToFirst()
| Edit this page View Source

MoveToLast()

Move to the last element in the collection.

Declaration
public void MoveToLast()
| Edit this page View Source

Next()

Move to the next element in the collection.

Declaration
public void Next()
| Edit this page View Source

Previous()

Move to the previous element in the collection.

Declaration
public void Previous()

Implements

IList<T>
ICollection<T>
IReadOnlyList<T>
IReadOnlyCollection<T>
IEnumerable<T>
IList
ICollection
IEnumerable
  • Edit this page
  • View Source
In this article
Back to top Copyright © www.benday.com | info@benday.com