C# Class 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.
Inheritance: LiteralStringParaHookup
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Свойство Type Description
ApplyStyle void
CanApplyStyle bool
CanDelete bool
CanInsertText bool
Delete void
InsertText void
InsertText void

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
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

Method Details

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetStyleNameAt() public méthode

public GetStyleNameAt ( InsertionPoint ip ) : string
ip SIL.FieldWorks.SharpViews.Selections.InsertionPoint
Résultat string

MlsHookup() public méthode

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
Résultat System

MlsHookup() public méthode

public MlsHookup ( object target, IViewMultiString accessor, int ws, MlsHookupAdapter propAdapter, IStringParaNotification para ) : System
target object
accessor IViewMultiString
ws int
propAdapter MlsHookupAdapter
para IStringParaNotification
Résultat System

MlsPropChanged() public méthode

public MlsPropChanged ( object modifiedObject, MlsChangedEventArgs args ) : void
modifiedObject object
args MlsChangedEventArgs
Résultat void

PropChanged() public méthode

public PropChanged ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
Résultat void