C# Class SIL.FieldWorks.SharpViews.Paragraphs.SubstituteStringClientRun

The special StringClientRun we use to support displaying a substitute string when the run is empty.
Inheritance: StringClientRun
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
SubstituteStringClientRun ( string contents, AssembledStyles style, string substitute, AssembledStyles substituteStyle ) : System

Private Methods

Method Description
CopyWithNewContents ( string newContents ) : StringClientRun

Return an otherwise equivalent string client run that has the specified Contents. Subclasses should override to return the appropriate subclass and copy any additional information.

Method Details

SubstituteStringClientRun() public method

public SubstituteStringClientRun ( string contents, AssembledStyles style, string substitute, AssembledStyles substituteStyle ) : System
contents string
style AssembledStyles
substitute string
substituteStyle AssembledStyles
return System