10 writes to Context
PresentationFramework (10)
MS\Internal\PtsHost\Line.cs (4)
278_host.Context = this; 342_host.Context = null; 388_host.Context = this; 465_host.Context = null; // clear the context
MS\Internal\PtsHost\ListMarkerLine.cs (2)
110_host.Context = this; 125_host.Context = null;
MS\Internal\PtsHost\TextParagraph.cs (4)
207StructuralCache.TextFormatterHost.Context = optimalTextSource; 216StructuralCache.TextFormatterHost.Context = null; 396StructuralCache.TextFormatterHost.Context = optimalTextSource; 406StructuralCache.TextFormatterHost.Context = null;
7 references to Context
PresentationFramework (7)
MS\Internal\PtsHost\TextFormatterHost.cs (6)
43Debug.Assert(Context != null, "TextFormatter host is not initialized."); 45TextRun run = Context.GetTextRun(textSourceCharacterIndex); 59Debug.Assert(Context != null, "TextFormatter host is not initialized."); 61return Context.GetPrecedingText(textSourceCharacterIndexLimit); 73Debug.Assert(Context != null, "TextFormatter host is not initialized."); 75return Context.GetTextEffectCharacterIndexFromTextSourceCharacterIndex(textSourceCharacterIndex);
MS\Internal\PtsHost\TextParagraph.cs (1)
1370return ((OptimalTextSource)StructuralCache.TextFormatterHost.Context).MeasureChild(inlineObject);