10 writes to Context
PresentationFramework (10)
MS\Internal\PtsHost\Line.cs (4)
260_host.Context = this; 324_host.Context = null; 370_host.Context = this; 446_host.Context = null; // clear the context
MS\Internal\PtsHost\ListMarkerLine.cs (2)
102_host.Context = this; 117_host.Context = null;
MS\Internal\PtsHost\TextParagraph.cs (4)
188StructuralCache.TextFormatterHost.Context = optimalTextSource; 197StructuralCache.TextFormatterHost.Context = null; 377StructuralCache.TextFormatterHost.Context = optimalTextSource; 387StructuralCache.TextFormatterHost.Context = null;
7 references to Context
PresentationFramework (7)
MS\Internal\PtsHost\TextFormatterHost.cs (6)
39Debug.Assert(Context != null, "TextFormatter host is not initialized."); 41TextRun run = Context.GetTextRun(textSourceCharacterIndex); 55Debug.Assert(Context != null, "TextFormatter host is not initialized."); 57return Context.GetPrecedingText(textSourceCharacterIndexLimit); 69Debug.Assert(Context != null, "TextFormatter host is not initialized."); 71return Context.GetTextEffectCharacterIndexFromTextSourceCharacterIndex(textSourceCharacterIndex);
MS\Internal\PtsHost\TextParagraph.cs (1)
1340return ((OptimalTextSource)StructuralCache.TextFormatterHost.Context).MeasureChild(inlineObject);