1 type derived from TextBlock
Microsoft.VisualStudio.LanguageServices (1)
23 instantiations of TextBlock
Microsoft.CodeAnalysis.EditorFeatures.Wpf (3)
Microsoft.VisualStudio.LanguageServices (3)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
PresentationFramework (9)
PresentationFramework.Tests (3)
PresentationUI (2)
Roslyn.VisualStudio.DiagnosticsWindow (2)
271 references to TextBlock
Microsoft.CodeAnalysis.EditorFeatures.Wpf (12)
Microsoft.VisualStudio.LanguageServices (17)
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
PresentationFramework (183)
System\Windows\Controls\TextBlock.cs (39)
305typeof(TextBlock),
315typographyProperties[i].OverrideMetadata(typeof(TextBlock), new FrameworkPropertyMetadata(onTypographyChanged));
318EventManager.RegisterClassHandler(typeof(TextBlock), RequestBringIntoViewEvent, new RequestBringIntoViewEventHandler(OnRequestBringIntoView));
319DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBlock), new FrameworkPropertyMetadata(typeof(TextBlock)));
518typeof(TextBlock),
563typeof(TextBlock),
589TextBlock textblock = (TextBlock)d;
620TextElement.FontFamilyProperty.AddOwner(typeof(TextBlock));
660TextElement.FontStyleProperty.AddOwner(typeof(TextBlock));
699TextElement.FontWeightProperty.AddOwner(typeof(TextBlock));
738TextElement.FontStretchProperty.AddOwner(typeof(TextBlock));
778typeof(TextBlock));
821typeof(TextBlock));
861typeof(TextBlock),
881typeof(TextBlock),
901typeof(TextBlock),
919Block.LineHeightProperty.AddOwner(typeof(TextBlock));
959Block.LineStackingStrategyProperty.AddOwner(typeof(TextBlock));
998typeof(TextBlock),
1016Block.TextAlignmentProperty.AddOwner(typeof(TextBlock));
1058typeof(TextBlock),
1082typeof(TextBlock),
1102Block.IsHyphenationEnabledProperty.AddOwner(typeof(TextBlock));
2783((TextBlock) d).SetFlags(true, Flags.IsTypographySet);
3455TextBlock textBlock = sender as TextBlock;
3460if (TextBlock.ContainsContentElement(textBlock, child))
3482private static bool ContainsContentElement(TextBlock textBlock, ContentElement element)
3704TextBlock tb = parent as TextBlock;
3897internal ComplexContent(TextBlock owner, ITextContainer textContainer, bool foreignTextContianer, string content)
3912TextBlock.InsertTextRun(this.TextContainer.End, content, /*whitespacesIgnorable:*/false);
3925internal void Detach(TextBlock owner)
4040TextBlock tb = (TextBlock) d;
4072TextBlock text = (TextBlock) d;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (39)
3573Type type = typeof(System.Windows.Controls.TextBlock);
3574DependencyProperty dp = System.Windows.Controls.TextBlock.BackgroundProperty;
3576this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3592Type type = typeof(System.Windows.Controls.TextBlock);
3593DependencyProperty dp = System.Windows.Controls.TextBlock.FontFamilyProperty;
3595this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3611Type type = typeof(System.Windows.Controls.TextBlock);
3612DependencyProperty dp = System.Windows.Controls.TextBlock.FontSizeProperty;
3614this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3630Type type = typeof(System.Windows.Controls.TextBlock);
3631DependencyProperty dp = System.Windows.Controls.TextBlock.FontStretchProperty;
3633this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3649Type type = typeof(System.Windows.Controls.TextBlock);
3650DependencyProperty dp = System.Windows.Controls.TextBlock.FontStyleProperty;
3652this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3668Type type = typeof(System.Windows.Controls.TextBlock);
3669DependencyProperty dp = System.Windows.Controls.TextBlock.FontWeightProperty;
3671this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3687Type type = typeof(System.Windows.Controls.TextBlock);
3688DependencyProperty dp = System.Windows.Controls.TextBlock.ForegroundProperty;
3690this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3706Type type = typeof(System.Windows.Controls.TextBlock);
3707DependencyProperty dp = System.Windows.Controls.TextBlock.TextProperty;
3709this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3725Type type = typeof(System.Windows.Controls.TextBlock);
3726DependencyProperty dp = System.Windows.Controls.TextBlock.TextDecorationsProperty;
3728this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3744Type type = typeof(System.Windows.Controls.TextBlock);
3745DependencyProperty dp = System.Windows.Controls.TextBlock.TextTrimmingProperty;
3747this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
3763Type type = typeof(System.Windows.Controls.TextBlock);
3764DependencyProperty dp = System.Windows.Controls.TextBlock.TextWrappingProperty;
3766this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
6301Type type = typeof(System.Windows.Controls.TextBlock);
6303this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
6310GetDelegate = delegate (object target) { return ((System.Windows.Controls.TextBlock)target).Inlines; },
7978Type type = typeof(System.Windows.Controls.TextBlock);
7979DependencyProperty dp = System.Windows.Controls.TextBlock.TextAlignmentProperty;
7981this.GetXamlType(typeof(System.Windows.Controls.TextBlock)), // DeclaringType
PresentationFramework.Tests (6)
PresentationUI (26)
Roslyn.VisualStudio.DiagnosticsWindow (1)
System.Windows.Controls.Ribbon (23)
WindowsFormsIntegration (2)