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

This class manages the hookup between one alternative of a multilingual string property and the place where it is displayed.
Наследование: LiteralStringParaHookup
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ApplyStyle void
CanApplyStyle bool
CanDelete bool
CanInsertText bool
Delete void
InsertText void
InsertText void

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

Метод Описание
GetStyleNameAt ( InsertionPoint ip ) : string
MlsHookup ( object target, IViewMultiString accessor, int ws, Action hookAdder, Action hookRemover, IStringParaNotification para ) : System
MlsHookup ( object target, IViewMultiString accessor, int ws, MlsHookupAdapter propAdapter, IStringParaNotification para ) : System
MlsPropChanged ( object modifiedObject, MlsChangedEventArgs args ) : void
PropChanged ( object sender, EventArgs args ) : void

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

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

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

Метод Описание
ApplyStyle ( InsertionPoint start, InsertionPoint end, string style ) : void
CanApplyStyle ( InsertionPoint start, InsertionPoint end, string style ) : bool
CanDelete ( InsertionPoint start, InsertionPoint end ) : bool
CanInsertText ( InsertionPoint ip ) : bool
Delete ( InsertionPoint start, InsertionPoint end ) : void
InsertText ( InsertionPoint ip, ITsString input ) : void
InsertText ( InsertionPoint ip, string input ) : void

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

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

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

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

public GetStyleNameAt ( InsertionPoint ip ) : string
ip SIL.FieldWorks.SharpViews.Selections.InsertionPoint
Результат string

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

public MlsHookup ( object target, IViewMultiString accessor, int ws, Action hookAdder, Action hookRemover, IStringParaNotification para ) : System
target object
accessor IViewMultiString
ws int
hookAdder Action
hookRemover Action
para IStringParaNotification
Результат System

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

public MlsHookup ( object target, IViewMultiString accessor, int ws, MlsHookupAdapter propAdapter, IStringParaNotification para ) : System
target object
accessor IViewMultiString
ws int
propAdapter MlsHookupAdapter
para IStringParaNotification
Результат System

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

public MlsPropChanged ( object modifiedObject, MlsChangedEventArgs args ) : void
modifiedObject object
args MlsChangedEventArgs
Результат void

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

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