5 types derived from TextBox
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
PresentationFramework (1)
PresentationUI (1)
System.Windows.Controls.Ribbon (1)
8 instantiations of TextBox
PresentationFramework (5)
Roslyn.VisualStudio.DiagnosticsWindow (3)
164 references to TextBox
Microsoft.CodeAnalysis.EditorFeatures.Wpf (5)
Microsoft.VisualStudio.LanguageServices (21)
PresentationFramework (116)
System\Windows\Controls\TextBox.cs (37)
46DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(typeof(TextBox)));
47_dType = DependencyObjectType.FromSystemTypeInternal(typeof(TextBox));
52HeightProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback));
53MinHeightProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback));
54MaxHeightProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback));
55FontFamilyProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback));
56FontSizeProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback));
63typographyProperties[i].OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(onTypographyChanged));
66HorizontalScrollBarVisibilityProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(
73CommandHelpers.RegisterCommandHandler(typeof(TextBox), EditingCommands.Clear, OnClearCommand, new CanExecuteRoutedEventHandler(OnCanExecuteClearCommand));
86TextEditor.RegisterCommandHandlers(typeof(TextBox), /*acceptsRichContent:*/false, /*readOnly*/false, /*registerEventListeners*/false);
576typeof(TextBox),
606typeof(TextBox), // Property owner
631typeof(TextBox), // Property owner
656typeof(TextBox), // Property owner
688typeof(TextBox), // Property owner
723typeof(TextBox), // Property owner
742public static readonly DependencyProperty TextAlignmentProperty = Block.TextAlignmentProperty.AddOwner(typeof(TextBox));
920typeof(TextBox),
952typeof(TextBox),
970if (target is TextBox textBox)
976if (target is TextBox textBox)
1018FrameworkPropertyMetadata fmetadata = e.Property.GetMetadata(typeof(TextBox)) as FrameworkPropertyMetadata;
1023if (e.IsAValueChange || e.IsASubPropertyChange || e.Property == TextBox.TextAlignmentProperty)
1490TextBox textBox = d as TextBox;
1536TextBox textBox = (TextBox)d;
1546TextBox textBox = (TextBox)d;
1602bool hasExpression = HasExpression(LookupEntry(TextBox.TextProperty.GlobalIndex), TextBox.TextProperty);
1785if (d is TextBox)
1787((TextBox)d).OnTextWrappingChanged();
1928TextBox textbox = (TextBox)d;
PresentationUI (5)
Roslyn.VisualStudio.DiagnosticsWindow (8)
System.Windows.Controls.Ribbon (9)