17 references to TextOptions
PresentationFramework (15)
src\Framework\MS\Internal\Documents\TextBoxView.cs (3)
1562TextFormattingMode textFormattingMode = TextOptions.GetTextFormattingMode(hostControl); 1736TextFormattingMode textFormattingMode = TextOptions.GetTextFormattingMode(hostControl); 3149TextFormattingMode textFormattingMode = TextOptions.GetTextFormattingMode(hostControl);
src\Framework\MS\Internal\PtsHost\StructuralCache.cs (1)
490TextFormattingMode textFormattingMode = TextOptions.GetTextFormattingMode(this.PropertyOwner);
src\Framework\System\Windows\Controls\Primitives\Popup.cs (2)
175System.Windows.ValueSource vs = DependencyPropertyHelper.GetValueSource(Child, TextOptions.TextRenderingModeProperty); 178Child.VisualTextRenderingMode = TextOptions.GetTextRenderingMode(this);
src\Framework\System\Windows\Controls\TextBlock.cs (2)
2764TextFormattingMode textFormattingMode = TextOptions.GetTextFormattingMode(this); 3319TextFormattingMode textFormattingMode = TextOptions.GetTextFormattingMode(this);
src\Framework\System\Windows\Controls\TextBox.cs (1)
1878if (TextOptions.GetTextFormattingMode(this) == TextFormattingMode.Ideal)
src\Framework\System\Windows\FrameworkElement.cs (3)
2415TextOptions.TextRenderingModeProperty.OverrideMetadata( 2437System.Windows.ValueSource vs = DependencyPropertyHelper.GetValueSource(this, TextOptions.TextRenderingModeProperty); 2440base.VisualTextRenderingMode = TextOptions.GetTextRenderingMode(this);
src\Framework\System\Windows\Media\TextOptions.cs (3)
33typeof(TextOptions), 52typeof(TextOptions), 61typeof(TextOptions));
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
1051TextOptions.SetTextFormattingMode(this.scrollableContent, TextFormattingMode.Display); 1055TextOptions.SetTextFormattingMode(this.scrollableContent, TextFormattingMode.Ideal);