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
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Property Type Description
ApplyStyle void
CanApplyStyle bool
CanDelete bool
CanInsertText bool
Delete void
InsertText void
InsertText void

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method 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 method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetStyleNameAt() public method

public GetStyleNameAt ( InsertionPoint ip ) : string
ip SIL.FieldWorks.SharpViews.Selections.InsertionPoint
return string

MlsHookup() public method

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
return System

MlsHookup() public method

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

MlsPropChanged() public method

public MlsPropChanged ( object modifiedObject, MlsChangedEventArgs args ) : void
modifiedObject object
args MlsChangedEventArgs
return void

PropChanged() public method

public PropChanged ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
return void