C# Класс FarsiLibrary.Win.Helpers.CollectionWithEvents

Extend collection base class by generating change events.
Наследование: System.Collections.CollectionBase
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
CollectionWithEvents ( ) : System.Collections

Initializes DrawTab new instance of the CollectionWithEvents class.

ResumeEvents ( ) : void

Safe to resume change events.

SuspendEvents ( ) : void

Do not generate change events until resumed.

Защищенные методы

Метод Описание
IndexOf ( object value ) : int

Returns the index of the first occurrence of DrawTab value.

OnClear ( ) : void

Raises the Clearing event when not suspended.

OnClearComplete ( ) : void

Raises the Cleared event when not suspended.

OnInsert ( int index, object value ) : void

Raises the Inserting event when not suspended.

OnInsertComplete ( int index, object value ) : void

Raises the Inserted event when not suspended.

OnRemove ( int index, object value ) : void

Raises the Removing event when not suspended.

OnRemoveComplete ( int index, object value ) : void

Raises the Removed event when not suspended.

Описание методов

CollectionWithEvents() публичный Метод

Initializes DrawTab new instance of the CollectionWithEvents class.
public CollectionWithEvents ( ) : System.Collections
Результат System.Collections

IndexOf() защищенный Метод

Returns the index of the first occurrence of DrawTab value.
protected IndexOf ( object value ) : int
value object The object to locate.
Результат int

OnClear() защищенный Метод

Raises the Clearing event when not suspended.
protected OnClear ( ) : void
Результат void

OnClearComplete() защищенный Метод

Raises the Cleared event when not suspended.
protected OnClearComplete ( ) : void
Результат void

OnInsert() защищенный Метод

Raises the Inserting event when not suspended.
protected OnInsert ( int index, object value ) : void
index int Index of object being inserted.
value object The object that is being inserted.
Результат void

OnInsertComplete() защищенный Метод

Raises the Inserted event when not suspended.
protected OnInsertComplete ( int index, object value ) : void
index int Index of inserted object.
value object The object that has been inserted.
Результат void

OnRemove() защищенный Метод

Raises the Removing event when not suspended.
protected OnRemove ( int index, object value ) : void
index int Index of object being removed.
value object The object that is being removed.
Результат void

OnRemoveComplete() защищенный Метод

Raises the Removed event when not suspended.
protected OnRemoveComplete ( int index, object value ) : void
index int Index of removed object.
value object The object that has been removed.
Результат void

ResumeEvents() публичный Метод

Safe to resume change events.
public ResumeEvents ( ) : void
Результат void

SuspendEvents() публичный Метод

Do not generate change events until resumed.
public SuspendEvents ( ) : void
Результат void