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