C# Class SIL.FieldWorks.SharpViews.Hookups.TssHookup

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
PropChanged ( object sender, EventArgs args ) : void
TssHookup ( TssHookupAdapter propAdapter, IStringParaNotification para ) : System
TssHookup ( object target, Func reader, Action hookAdder, Action hookRemover, IStringParaNotification para ) : System
TssPropChanged ( object modifiedObject, 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

PropChanged() public method

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

TssHookup() public method

public TssHookup ( TssHookupAdapter propAdapter, IStringParaNotification para ) : System
propAdapter TssHookupAdapter
para IStringParaNotification
return System

TssHookup() public method

public TssHookup ( object target, Func reader, Action hookAdder, Action hookRemover, IStringParaNotification para ) : System
target object
reader Func
hookAdder Action
hookRemover Action
para IStringParaNotification
return System

TssPropChanged() public method

public TssPropChanged ( object modifiedObject, EventArgs args ) : void
modifiedObject object
args System.EventArgs
return void