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

A GroupHookup subclass is used for any hookup that can be a parent of other hookups. For example, a SequenceHookup has a child hookup for each item in the sequence; an ItemHookup has children which are the hookups for the various properties displayed. It keeps track of its children in order. It also knows a containing box in which its parts are placed.
Наследование: Hookup
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ChildContaining Hookup
ChildContaining Hookup
IndexOfChild int
InsertChildHookup void

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

Метод Описание
SelectAtEnd ( ) : InsertionPoint

Make an insertion point at the end of the data covered by the hookup. GroupHookup delegates to its last child. Enhance JohnT: possibly try the second-last child, if the last one cannot, and so on?

SelectAtStart ( ) : InsertionPoint

Make an insertion point at the start of the data covered by the hookup. GroupHookup delegates to its first child.

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

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

Dispose any disposable children and clear the collection.

GroupHookup ( object target, GroupBox containingBox ) : System

Приватные методы

Метод Описание
ChildContaining ( Hookup child ) : Hookup

Return the one of your direct children which is or is a parent of the given child hookup (or null if no such exists).

ChildContaining ( InsertionPoint ip ) : Hookup

Return the one of your direct children which contains the given IP (or null if none does).

IndexOfChild ( InsertionPoint ip ) : int

Return the index of the one of your child hookups that contains the given selection, or -1 if not found.

InsertChildHookup ( IHookup child, int insertAt ) : void

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

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

Dispose any disposable children and clear the collection.
protected Dispose ( bool beforeDestructor ) : void
beforeDestructor bool
Результат void

GroupHookup() защищенный метод

protected GroupHookup ( object target, GroupBox containingBox ) : System
target object
containingBox GroupBox
Результат System

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

Make an insertion point at the end of the data covered by the hookup. GroupHookup delegates to its last child. Enhance JohnT: possibly try the second-last child, if the last one cannot, and so on?
public SelectAtEnd ( ) : InsertionPoint
Результат SIL.FieldWorks.SharpViews.Selections.InsertionPoint

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

Make an insertion point at the start of the data covered by the hookup. GroupHookup delegates to its first child.
public SelectAtStart ( ) : InsertionPoint
Результат SIL.FieldWorks.SharpViews.Selections.InsertionPoint