1 type derived from TextBlock
Microsoft.VisualStudio.LanguageServices (1)
20 instantiations of TextBlock
Microsoft.CodeAnalysis.EditorFeatures.Wpf (3)
Microsoft.VisualStudio.LanguageServices (3)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
PresentationFramework (9)
PresentationUI (2)
Roslyn.VisualStudio.DiagnosticsWindow (2)
275 references to TextBlock
Microsoft.CodeAnalysis.EditorFeatures.Wpf (20)
Microsoft.VisualStudio.LanguageServices (17)
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
PresentationFramework (185)
System\Windows\Controls\TextBlock.cs (39)
308typeof(TextBlock),
318typographyProperties[i].OverrideMetadata(typeof(TextBlock), new FrameworkPropertyMetadata(onTypographyChanged));
321EventManager.RegisterClassHandler(typeof(TextBlock), RequestBringIntoViewEvent, new RequestBringIntoViewEventHandler(OnRequestBringIntoView));
322DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBlock), new FrameworkPropertyMetadata(typeof(TextBlock)));
521typeof(TextBlock),
566typeof(TextBlock),
592TextBlock textblock = (TextBlock)d;
623TextElement.FontFamilyProperty.AddOwner(typeof(TextBlock));
663TextElement.FontStyleProperty.AddOwner(typeof(TextBlock));
702TextElement.FontWeightProperty.AddOwner(typeof(TextBlock));
741TextElement.FontStretchProperty.AddOwner(typeof(TextBlock));
781typeof(TextBlock));
824typeof(TextBlock));
864typeof(TextBlock),
884typeof(TextBlock),
904typeof(TextBlock),
922Block.LineHeightProperty.AddOwner(typeof(TextBlock));
962Block.LineStackingStrategyProperty.AddOwner(typeof(TextBlock));
1001typeof(TextBlock),
1019Block.TextAlignmentProperty.AddOwner(typeof(TextBlock));
1061typeof(TextBlock),
1085typeof(TextBlock),
1105Block.IsHyphenationEnabledProperty.AddOwner(typeof(TextBlock));
2795((TextBlock) d).SetFlags(true, Flags.IsTypographySet);
3465TextBlock textBlock = sender as TextBlock;
3470if (TextBlock.ContainsContentElement(textBlock, child))
3492private static bool ContainsContentElement(TextBlock textBlock, ContentElement element)
3714TextBlock tb = parent as TextBlock;
3907internal ComplexContent(TextBlock owner, ITextContainer textContainer, bool foreignTextContianer, string content)
3922TextBlock.InsertTextRun(this.TextContainer.End, content, /*whitespacesIgnorable:*/false);
3935internal void Detach(TextBlock owner)
4050TextBlock tb = (TextBlock) d;
4082TextBlock text = (TextBlock) d;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (39)
3432Type type = typeof(System.Windows.Controls.TextBlock);
3433DependencyProperty dp = System.Windows.Controls.TextBlock.BackgroundProperty;
3435this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3449Type type = typeof(System.Windows.Controls.TextBlock);
3450DependencyProperty dp = System.Windows.Controls.TextBlock.FontFamilyProperty;
3452this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3466Type type = typeof(System.Windows.Controls.TextBlock);
3467DependencyProperty dp = System.Windows.Controls.TextBlock.FontSizeProperty;
3469this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3483Type type = typeof(System.Windows.Controls.TextBlock);
3484DependencyProperty dp = System.Windows.Controls.TextBlock.FontStretchProperty;
3486this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3500Type type = typeof(System.Windows.Controls.TextBlock);
3501DependencyProperty dp = System.Windows.Controls.TextBlock.FontStyleProperty;
3503this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3517Type type = typeof(System.Windows.Controls.TextBlock);
3518DependencyProperty dp = System.Windows.Controls.TextBlock.FontWeightProperty;
3520this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3534Type type = typeof(System.Windows.Controls.TextBlock);
3535DependencyProperty dp = System.Windows.Controls.TextBlock.ForegroundProperty;
3537this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3551Type type = typeof(System.Windows.Controls.TextBlock);
3552DependencyProperty dp = System.Windows.Controls.TextBlock.TextProperty;
3554this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3568Type type = typeof(System.Windows.Controls.TextBlock);
3569DependencyProperty dp = System.Windows.Controls.TextBlock.TextDecorationsProperty;
3571this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3585Type type = typeof(System.Windows.Controls.TextBlock);
3586DependencyProperty dp = System.Windows.Controls.TextBlock.TextTrimmingProperty;
3588this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3602Type type = typeof(System.Windows.Controls.TextBlock);
3603DependencyProperty dp = System.Windows.Controls.TextBlock.TextWrappingProperty;
3605this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
5890Type type = typeof(System.Windows.Controls.TextBlock);
5892this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
5898bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.TextBlock)target).Inlines; };
7399Type type = typeof(System.Windows.Controls.TextBlock);
7400DependencyProperty dp = System.Windows.Controls.TextBlock.TextAlignmentProperty;
7402this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
PresentationUI (26)
Roslyn.VisualStudio.DiagnosticsWindow (1)
System.Windows.Controls.Ribbon (23)
WindowsFormsIntegration (2)