C# Класс SIL.FieldWorks.SharpViews.Hookups.Hookup

A Hookup represents the connection between the domain (a property of an object) and a section of a view (one or more boxes or strings). Typically it knows how to connect to an event (and disconnect when disposed) that is raised when a particular property changes, how to get the value, and how to inform the view of the change. Some subtypes may (eventually) know how to perform the reverse operation, that is, when something in the view is edited, the Hookup knows what should be changed in the domain model.
Наследование: IHookup, IHookupInternal, IDisposable, IReceivePropChanged
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Dispose ( ) : void
Hookup ( object target ) : System
IHookupInternal ( GroupHookup parent ) : void
PropChanged ( object sender, EventArgs args ) : void

Should be sent when the particular property that this hookup manages changes. Subclasses override as needed.

PropChanged ( object sender, ObjectSequenceEventArgs args ) : void
SelectAtEnd ( ) : InsertionPoint

Make an insertion point at the end of the data covered by the hookup. This base implementation doesn't have any way to do so.

SelectAtStart ( ) : InsertionPoint

Make an insertion point at the start of the data covered by the hookup. This base implementation doesn't have any way to do so.

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

Метод Описание
Dispose ( bool beforeDestructor ) : void

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

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

public Dispose ( ) : void
Результат void

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

protected Dispose ( bool beforeDestructor ) : void
beforeDestructor bool
Результат void

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

public Hookup ( object target ) : System
target object
Результат System

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

public IHookupInternal ( GroupHookup parent ) : void
parent GroupHookup
Результат void

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

Should be sent when the particular property that this hookup manages changes. Subclasses override as needed.
public PropChanged ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
Результат void

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

public PropChanged ( object sender, ObjectSequenceEventArgs args ) : void
sender object
args ObjectSequenceEventArgs
Результат void

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

Make an insertion point at the end of the data covered by the hookup. This base implementation doesn't have any way to do so.
public SelectAtEnd ( ) : InsertionPoint
Результат SIL.FieldWorks.SharpViews.Selections.InsertionPoint

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

Make an insertion point at the start of the data covered by the hookup. This base implementation doesn't have any way to do so.
public SelectAtStart ( ) : InsertionPoint
Результат SIL.FieldWorks.SharpViews.Selections.InsertionPoint