Table of Contents

Class ListProperty

Namespace
KSP.Api.CoreTypes
Assembly
Assembly-CSharp.dll
public class ListProperty : IListProperty, IList, ICollection, IEnumerable
Inheritance
ListProperty
Implements
Derived
Inherited Members
Extension Methods

Constructors

ListProperty(IBindingList)

public ListProperty(IBindingList backingList = null)

Parameters

backingList IBindingList

Fields

backingList

protected IBindingList backingList

Field Value

IBindingList

Properties

AllowInsert

public bool AllowInsert { get; set; }

Property Value

bool

AllowMove

public bool AllowMove { get; set; }

Property Value

bool

AllowRemove

public bool AllowRemove { get; set; }

Property Value

bool

AllowTransfer

public bool AllowTransfer { get; set; }

Property Value

bool

Count

public int Count { get; }

Property Value

int

IsFixedSize

public bool IsFixedSize { get; }

Property Value

bool

IsReadOnly

public bool IsReadOnly { get; }

Property Value

bool

IsSynchronized

public bool IsSynchronized { get; }

Property Value

bool

this[int]

public object this[int index] { get; set; }

Parameters

index int

Property Value

object

RaiseIncidentalEvents

public bool RaiseIncidentalEvents { get; }

Property Value

bool

RaiseListChangedEvents

public bool RaiseListChangedEvents { get; set; }

Property Value

bool

ShouldRaiseChangeEvent

protected virtual bool ShouldRaiseChangeEvent { get; }

Property Value

bool

SyncRoot

public object SyncRoot { get; }

Property Value

object

Methods

Add(object)

public int Add(object value)

Parameters

value object

Returns

int

Clear()

public void Clear()

Contains(object)

public bool Contains(object value)

Parameters

value object

Returns

bool

CopyTo(Array, int)

public void CopyTo(Array array, int index)

Parameters

array Array
index int

GetEnumerator()

public IEnumerator GetEnumerator()

Returns

IEnumerator

IndexOf(object)

public int IndexOf(object value)

Parameters

value object

Returns

int

Insert(int, object)

public void Insert(int index, object value)

Parameters

index int
value object

MoveElement(int, int)

public void MoveElement(int indexFrom, int indexTo)

Parameters

indexFrom int
indexTo int

PopPauseEvents()

public void PopPauseEvents()

PushPauseEvents()

public void PushPauseEvents()

Remove(object)

public void Remove(object value)

Parameters

value object

RemoveAt(int)

public void RemoveAt(int index)

Parameters

index int

TransferElement(IListProperty, int, int)

public void TransferElement(IListProperty newList, int indexFrom, int indexTo)

Parameters

newList IListProperty
indexFrom int
indexTo int

Events

ListChanged

public event ListChangedEventHandler ListChanged

Event Type

ListChangedEventHandler