10 writes to Context
PresentationFramework (10)
MS\Internal\PtsHost\Line.cs (4)
264_host.Context = this; 328_host.Context = null; 374_host.Context = this; 450_host.Context = null; // clear the context
MS\Internal\PtsHost\ListMarkerLine.cs (2)
103_host.Context = this; 118_host.Context = null;
MS\Internal\PtsHost\TextParagraph.cs (4)
189StructuralCache.TextFormatterHost.Context = optimalTextSource; 198StructuralCache.TextFormatterHost.Context = null; 378StructuralCache.TextFormatterHost.Context = optimalTextSource; 388StructuralCache.TextFormatterHost.Context = null;
7 references to Context
PresentationFramework (7)
MS\Internal\PtsHost\TextFormatterHost.cs (6)
40Debug.Assert(Context != null, "TextFormatter host is not initialized."); 42TextRun run = Context.GetTextRun(textSourceCharacterIndex); 56Debug.Assert(Context != null, "TextFormatter host is not initialized."); 58return Context.GetPrecedingText(textSourceCharacterIndexLimit); 70Debug.Assert(Context != null, "TextFormatter host is not initialized."); 72return Context.GetTextEffectCharacterIndexFromTextSourceCharacterIndex(textSourceCharacterIndex);
MS\Internal\PtsHost\TextParagraph.cs (1)
1341return ((OptimalTextSource)StructuralCache.TextFormatterHost.Context).MeasureChild(inlineObject);