21 references to TextOptions
Microsoft.CodeAnalysis.EditorFeatures.Wpf (6)
InlineHints\InlineHintsTag.cs (6)
196TextOptions.SetTextFormattingMode(stackPanel, TextOptions.GetTextFormattingMode(textView.VisualElement)); 197TextOptions.SetTextHintingMode(stackPanel, TextOptions.GetTextHintingMode(textView.VisualElement)); 198TextOptions.SetTextRenderingMode(stackPanel, TextOptions.GetTextRenderingMode(textView.VisualElement));
PresentationFramework (15)
MS\Internal\Documents\TextBoxView.cs (3)
1561TextFormattingMode textFormattingMode = TextOptions.GetTextFormattingMode(hostControl); 1738TextFormattingMode textFormattingMode = TextOptions.GetTextFormattingMode(hostControl); 3172TextFormattingMode textFormattingMode = TextOptions.GetTextFormattingMode(hostControl);
MS\Internal\PtsHost\StructuralCache.cs (1)
486TextFormattingMode textFormattingMode = TextOptions.GetTextFormattingMode(this.PropertyOwner);
System\Windows\Controls\Primitives\Popup.cs (2)
174System.Windows.ValueSource vs = DependencyPropertyHelper.GetValueSource(Child, TextOptions.TextRenderingModeProperty); 177Child.VisualTextRenderingMode = TextOptions.GetTextRenderingMode(this);
System\Windows\Controls\TextBlock.cs (2)
2675TextFormattingMode textFormattingMode = TextOptions.GetTextFormattingMode(this); 3228TextFormattingMode textFormattingMode = TextOptions.GetTextFormattingMode(this);
System\Windows\Controls\TextBox.cs (1)
1885if (TextOptions.GetTextFormattingMode(this) == TextFormattingMode.Ideal)
System\Windows\FrameworkElement.cs (3)
2418TextOptions.TextRenderingModeProperty.OverrideMetadata( 2440System.Windows.ValueSource vs = DependencyPropertyHelper.GetValueSource(this, TextOptions.TextRenderingModeProperty); 2443base.VisualTextRenderingMode = TextOptions.GetTextRenderingMode(this);
System\Windows\Media\TextOptions.cs (3)
29typeof(TextOptions), 48typeof(TextOptions), 57typeof(TextOptions));