Table of Contents

Class Dropdown<T>

Namespace
MCM.Common
Assembly
MCMv5.dll
public sealed class Dropdown<T> : List<T>, IList<T>, ICollection<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable, IEqualityComparer<Dropdown<T>>, INotifyPropertyChanged, ICloneable

Type Parameters

T
Inheritance
List<T>
Dropdown<T>
Implements
Inherited Members

Constructors

Dropdown(IEnumerable<T>, int)

public Dropdown(IEnumerable<T> values, int selectedIndex)

Parameters

values IEnumerable<T>
selectedIndex int

Properties

Empty

public static Dropdown<T> Empty { get; }

Property Value

Dropdown<T>

SelectedIndex

public int SelectedIndex { get; set; }

Property Value

int

SelectedValue

public T SelectedValue { get; set; }

Property Value

T

Methods

Clone()

public object Clone()

Returns

object

Equals(Dropdown<T>?, Dropdown<T>?)

public bool Equals(Dropdown<T>? x, Dropdown<T>? y)

Parameters

x Dropdown<T>
y Dropdown<T>

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode(Dropdown<T>)

public int GetHashCode(Dropdown<T> obj)

Parameters

obj Dropdown<T>

Returns

int

Events

PropertyChanged

public event PropertyChangedEventHandler? PropertyChanged

Event Type

PropertyChangedEventHandler

This page was last modified at 06/21/2024 00:30:43 +03:00 (UTC).

Commit Message
Author:    Vitalii Mikhailov
Commit:    4886bde83cd8d8579d8a29e1fed7cf3fbb5dea31
Switched to collection expression

Version bump