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

Inheritance: LiteralStringParaHookup
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

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

Public Methods

Method Description
StringHookup ( object target, Func reader, Action hookAdder, Action hookRemover, IStringParaNotification para ) : System
StringPropChanged ( object modifiedObject, EventArgs args ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
CanApplyStyle ( InsertionPoint start, InsertionPoint end, string style ) : bool

Returns false because a style cannot be stored in a string

CanDelete ( InsertionPoint start, InsertionPoint end ) : bool
CanInsertText ( InsertionPoint ip ) : bool
Delete ( InsertionPoint start, InsertionPoint end ) : void
InsertText ( InsertionPoint ip, string input ) : void

Method Details

Dispose() protected method

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

StringHookup() public method

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

StringPropChanged() public method

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