TextRange « Windows Presentation Foundation « C# / CSharp Tutorial






24.11.TextRange
24.11.1.Clear any formatting applied to the text with TextRange.ClearAllProperties();Clear any formatting applied to the text with TextRange.ClearAllProperties();
24.11.2.Create Run from String, Add Run to TextBlock
24.11.3.Listen to mouse down event for Run
24.11.4.Load TextRange from File stream
24.11.5.Save TextRange to file stream