5 types derived from TextBox
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
artifacts\obj\Microsoft.CodeAnalysis.EditorFeatures.Wpf\Release\net472\InlineRename\UI\Adornment\RenameUserInputTextBox.g.cs (1)
38internal partial class RenameUserInputTextBox : System.Windows.Controls.TextBox, System.Windows.Markup.IComponentConnector {
InlineRename\UI\Adornment\RenameUserInputTextBox.xaml.cs (1)
14internal sealed partial class RenameUserInputTextBox : TextBox, IRenameUserInput
PresentationFramework (1)
System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
15public sealed partial class DatePickerTextBox : TextBox
PresentationUI (1)
MS\Internal\Documents\Application\PageTextBox.cs (1)
23internal sealed class PageTextBox : TextBox
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (1)
32public class RibbonTextBox : TextBox, ICommandSource
8 instantiations of TextBox
PresentationFramework (5)
MS\Internal\Ink\TextClipboardData.cs (1)
83TextBox textBox = new TextBox
System\Windows\Controls\DataGridHyperlinkColumn.cs (1)
189TextBox textBox = new TextBox();
System\Windows\Controls\DataGridTextColumn.cs (1)
97TextBox textBox = new TextBox();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11035DefaultConstructor = delegate () { return new System.Windows.Controls.TextBox(); },
System\Windows\Markup\KnownTypes.cs (1)
1585case KnownElements.TextBox: o = new System.Windows.Controls.TextBox(); break;
Roslyn.VisualStudio.DiagnosticsWindow (3)
OptionPages\ForceLowMemoryModePage.cs (1)
37var textBox = new TextBox { MinWidth = 60 };
OptionPages\InternalOptionsControl.cs (2)
41var searchBox = new TextBox() { MinWidth = 200, HorizontalAlignment = HorizontalAlignment.Stretch }; 160var textBox = new TextBox();
164 references to TextBox
Microsoft.CodeAnalysis.EditorFeatures.Wpf (5)
InlineRename\UI\SmartRename\SmartRenameUserInputComboBox.xaml.cs (5)
17[TemplatePart(Name = InnerTextBox, Type = typeof(TextBox))] 24private readonly Lazy<TextBox> _innerTextBox; 36_innerTextBox = new Lazy<TextBox>(() => 39var textBox = (TextBox)GetTemplateChild(InnerTextBox)!;
Microsoft.VisualStudio.LanguageServices (21)
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\ChangeSignature\AddParameterDialog.g.cs (8)
77internal System.Windows.Controls.TextBox TypeContentControl; 101internal System.Windows.Controls.TextBox NameContentControl; 125internal System.Windows.Controls.TextBox DefaultValue; 141internal System.Windows.Controls.TextBox CallsiteValueTextBox; 238this.TypeContentControl = ((System.Windows.Controls.TextBox)(target)); 247this.NameContentControl = ((System.Windows.Controls.TextBox)(target)); 256this.DefaultValue = ((System.Windows.Controls.TextBox)(target)); 262this.CallsiteValueTextBox = ((System.Windows.Controls.TextBox)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\CommonControls\NewTypeDestinationSelection.g.cs (4)
63internal System.Windows.Controls.TextBox TypeNameTextBox; 95internal System.Windows.Controls.TextBox fileNameTextBox; 138this.TypeNameTextBox = ((System.Windows.Controls.TextBox)(target)); 156this.fileNameTextBox = ((System.Windows.Controls.TextBox)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\ErrorReporting\DetailedErrorInfoDialog.g.cs (2)
46internal System.Windows.Controls.TextBox stackTraceText; 99this.stackTraceText = ((System.Windows.Controls.TextBox)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\GenerateType\GenerateTypeDialog.g.cs (2)
92internal System.Windows.Controls.TextBox TypeNameTextBox; 219this.TypeNameTextBox = ((System.Windows.Controls.TextBox)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\PickMembers\PickMembersDialog.g.cs (2)
55internal System.Windows.Controls.TextBox SearchTextBox; 174this.SearchTextBox = ((System.Windows.Controls.TextBox)(target));
CommonControls\NewTypeDestinationSelection.xaml.cs (1)
51if (sender is TextBox textbox
ExtractInterface\ExtractInterfaceDialog.xaml.cs (1)
78public TextBox FileNameTextBox => _dialog.DestinationControl.fileNameTextBox;
GenerateType\GenerateTypeDialog.xaml.cs (1)
131public TextBox TypeNameTextBox => _dialog.TypeNameTextBox;
PresentationFramework (116)
MS\Internal\Documents\TextBoxView.cs (6)
3043BaseValueSource textAlignmentSource = DependencyPropertyHelper.GetValueSource(host, TextBox.TextAlignmentProperty).BaseValueSource; 3044BaseValueSource horizontalAlignmentSource = DependencyPropertyHelper.GetValueSource(host, TextBox.HorizontalContentAlignmentProperty).BaseValueSource; 3049return (TextAlignment)host.GetValue(TextBox.TextAlignmentProperty); 3054o = host.GetValue(TextBox.HorizontalContentAlignmentProperty); 3063o = host.GetValue(TextBox.HorizontalContentAlignmentProperty); 3068return (TextAlignment)host.GetValue(TextBox.TextAlignmentProperty);
MS\Internal\Documents\TextContainerHelper.cs (3)
546Invariant.Assert(element is TextBlock || element is FlowDocument || element is TextBox, 568Invariant.Assert(element is TextBlock || element is FlowDocument || element is TextBox, 665Invariant.Assert(element is TextBlock || element is FlowDocument || element is TextBox,
MS\Internal\Helper.cs (1)
1466if (dp != TextBox.TextProperty)
MS\Internal\Ink\TextClipboardData.cs (1)
83TextBox textBox = new TextBox
MS\Internal\Text\TextProperties.cs (2)
269TextBox textBox = element as TextBox;
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (2)
70TextBox textBox = owner.EditableTextBoxSite; 97TextBox tb = owner.EditableTextBoxSite;
System\Windows\Automation\Peers\DatePickerAutomationPeer.cs (1)
64TextBox tb = owner.TextBox;
System\Windows\Automation\Peers\TextBoxAutomationPeer.cs (9)
16public TextBoxAutomationPeer(TextBox owner): base(owner) 51TextBox owner = (TextBox)Owner; 70TextBox owner = (TextBox)Owner; 79TextBox owner = (TextBox)Owner; 89TextBox owner = (TextBox)Owner;
System\Windows\Controls\ComboBox.cs (5)
26[TemplatePart(Name = "PART_EditableTextBox", Type = typeof(TextBox))] 370TextBox.IsReadOnlyProperty.AddOwner(typeof(ComboBox)); 1630EditableTextBoxSite = GetTemplateChild(EditableTextBoxTemplateName) as TextBox; 1899internal TextBox EditableTextBoxSite 2011private TextBox _editableTextBoxSite;
System\Windows\Controls\DataGridHyperlinkColumn.cs (4)
189TextBox textBox = new TextBox(); 192ApplyBinding(textBox, TextBox.TextProperty); 211TextBox textBox = editingElement as TextBox;
System\Windows\Controls\DataGridTextColumn.cs (8)
58Style style = new Style(typeof(TextBox)); 60style.Setters.Add(new Setter(TextBox.BorderThicknessProperty, new Thickness(0.0))); 61style.Setters.Add(new Setter(TextBox.PaddingProperty, new Thickness(0.0))); 97TextBox textBox = new TextBox(); 102ApplyBinding(textBox, TextBox.TextProperty); 164TextBox textBox = editingElement as TextBox; 235private static bool PlaceCaretOnTextBox(TextBox textBox, Point position)
System\Windows\Controls\DatePicker.cs (7)
635internal TextBox TextBox 671_textBox.RemoveHandler(TextBox.KeyDownEvent, new KeyEventHandler(TextBox_KeyDown)); 672_textBox.RemoveHandler(TextBox.TextChangedEvent, new TextChangedEventHandler(TextBox_TextChanged)); 673_textBox.RemoveHandler(TextBox.LostFocusEvent, new RoutedEventHandler(TextBox_LostFocus)); 716_textBox.AddHandler(TextBox.KeyDownEvent, new KeyEventHandler(TextBox_KeyDown), true); 717_textBox.AddHandler(TextBox.TextChangedEvent, new TextChangedEventHandler(TextBox_TextChanged), true); 718_textBox.AddHandler(TextBox.LostFocusEvent, new RoutedEventHandler(TextBox_LostFocus), true);
System\Windows\Controls\DeferredTextReference.cs (2)
45TextBox tb = _textContainer.Parent as TextBox;
System\Windows\Controls\DocumentViewer.cs (1)
1990SetValue(TextBox.AcceptsTabProperty, false);
System\Windows\Controls\PasswordBox.cs (1)
247TextBox.MaxLengthProperty.AddOwner(typeof(PasswordBox));
System\Windows\Controls\TextBlock.cs (1)
2818if (!(position is TextPointer) || ((TextPointer)position).Parent == null || ((TextPointer)position).Parent is TextBox)
System\Windows\Controls\TextBox.cs (37)
45DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(typeof(TextBox))); 46_dType = DependencyObjectType.FromSystemTypeInternal(typeof(TextBox)); 51HeightProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 52MinHeightProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 53MaxHeightProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 54FontFamilyProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 55FontSizeProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 62typographyProperties[i].OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(onTypographyChanged)); 65HorizontalScrollBarVisibilityProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata( 72CommandHelpers.RegisterCommandHandler(typeof(TextBox), EditingCommands.Clear, OnClearCommand, new CanExecuteRoutedEventHandler(OnCanExecuteClearCommand)); 85TextEditor.RegisterCommandHandlers(typeof(TextBox), /*acceptsRichContent:*/false, /*readOnly*/false, /*registerEventListeners*/false); 577typeof(TextBox), 607typeof(TextBox), // Property owner 632typeof(TextBox), // Property owner 657typeof(TextBox), // Property owner 689typeof(TextBox), // Property owner 724typeof(TextBox), // Property owner 743public static readonly DependencyProperty TextAlignmentProperty = Block.TextAlignmentProperty.AddOwner(typeof(TextBox)); 921typeof(TextBox), 953typeof(TextBox), 971if (target is TextBox textBox) 977if (target is TextBox textBox) 1019FrameworkPropertyMetadata fmetadata = e.Property.GetMetadata(typeof(TextBox)) as FrameworkPropertyMetadata; 1024if (e.IsAValueChange || e.IsASubPropertyChange || e.Property == TextBox.TextAlignmentProperty) 1491TextBox textBox = d as TextBox; 1537TextBox textBox = (TextBox)d; 1547TextBox textBox = (TextBox)d; 1603bool hasExpression = HasExpression(LookupEntry(TextBox.TextProperty.GlobalIndex), TextBox.TextProperty); 1786if (d is TextBox) 1788((TextBox)d).OnTextWrappingChanged(); 1929TextBox textbox = (TextBox)d;
System\Windows\Controls\ToolBar.cs (1)
474else if (feType == typeof(TextBox))
System\Windows\Data\BindingExpressionBase.cs (2)
922if (dp == System.Windows.Controls.TextBox.TextProperty && IsReflective && !IsInBindingExpressionCollection) 953if (TargetProperty == System.Windows.Controls.TextBox.TextProperty && IsReflective && !IsInBindingExpressionCollection)
System\windows\Documents\TextEditor.cs (2)
1032return _uiScope == null ? 0 : (int)_uiScope.GetValue(TextBox.MaxLengthProperty); 1044return _uiScope == null ? CharacterCasing.Normal : (CharacterCasing)_uiScope.GetValue(TextBox.CharacterCasingProperty);
System\windows\Documents\TextEditorDragDrop.cs (1)
265_textEditor.UiScope, TextBox.TextProperty);
System\Windows\Documents\TextSchema.cs (1)
803typeof(TextBox).IsAssignableFrom(parentType) ||
System\Windows\FrameworkCompatibilityPreferences.cs (1)
361/// controls (<see cref="System.Windows.Controls.TextBox"/> and <see cref="System.Windows.Controls.RichTextBox"/>)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
732case 639: t = () => typeof(TextBox); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (12)
3782Type type = typeof(System.Windows.Controls.TextBox); 3783DependencyProperty dp = System.Windows.Controls.TextBox.TextProperty; 3785this.GetXamlType(typeof(System.Windows.Controls.TextBox)), // DeclaringType 3801Type type = typeof(System.Windows.Controls.TextBox); 3802DependencyProperty dp = System.Windows.Controls.TextBox.IsReadOnlyProperty; 3804this.GetXamlType(typeof(System.Windows.Controls.TextBox)), // DeclaringType 7805Type type = typeof(System.Windows.Controls.TextBox); 7806DependencyProperty dp = System.Windows.Controls.TextBox.TextWrappingProperty; 7808this.GetXamlType(typeof(System.Windows.Controls.TextBox)), // DeclaringType 7959Type type = typeof(System.Windows.Controls.TextBox); 7960DependencyProperty dp = System.Windows.Controls.TextBox.TextAlignmentProperty; 7962this.GetXamlType(typeof(System.Windows.Controls.TextBox)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11032typeof(System.Windows.Controls.TextBox),
System\Windows\Markup\KnownTypes.cs (3)
1905return System.Windows.Controls.TextBox.TextProperty; 1907return System.Windows.Controls.TextBox.IsReadOnlyProperty; 6186case KnownElements.TextBox: t = typeof(System.Windows.Controls.TextBox); break;
PresentationUI (5)
artifacts\obj\PresentationUI\x86\Debug\net10.0\MS\Internal\Documents\FindToolBar.g.cs (2)
82internal System.Windows.Controls.TextBox FindTextBox; 205this.FindTextBox = ((System.Windows.Controls.TextBox)(target));
MS\Internal\Documents\Application\ZoomComboBox.cs (3)
61public TextBox TextBox 110_editableTextBox = GetTemplateChild("PART_EditableTextBox") as TextBox; 573private TextBox _editableTextBox;
Roslyn.VisualStudio.DiagnosticsWindow (8)
artifacts\obj\Roslyn.VisualStudio.DiagnosticsWindow\Release\net472\Panels\TelemetryPanel.g.cs (2)
53internal System.Windows.Controls.TextBox Result; 108this.Result = ((System.Windows.Controls.TextBox)(target));
artifacts\obj\Roslyn.VisualStudio.DiagnosticsWindow\Release\net472\Panels\WorkspacePanel.g.cs (2)
53internal System.Windows.Controls.TextBox Result; 100this.Result = ((System.Windows.Controls.TextBox)(target));
OptionPages\ForceLowMemoryModePage.cs (1)
37var textBox = new TextBox { MinWidth = 60 };
OptionPages\InternalOptionsControl.cs (3)
41var searchBox = new TextBox() { MinWidth = 200, HorizontalAlignment = HorizontalAlignment.Stretch }; 160var textBox = new TextBox(); 206private void BindToTextBox(TextBox textBox, IOption2 option, string languageName = null)
System.Windows.Controls.Ribbon (9)
Microsoft\Windows\Automation\Peers\RibbonComboBoxAutomationPeer.cs (1)
85TextBox tb = owner.EditableTextBoxSite;
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (4)
136TextBox.IsReadOnlyProperty.AddOwner(typeof(RibbonComboBox)); 1305EditableTextBoxSite = GetTemplateChild(EditableTextBoxTemplateName) as TextBox; 1622internal TextBox EditableTextBoxSite 1681private TextBox _editableTextBoxSite;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
1817new PropertyAndTransferMode () { Property = TextBox.TextProperty, Mode = TransferMode.AlwaysTransfer }, 2097else if (original is TextBox)
Microsoft\Windows\Controls\TextSearchInternal.cs (2)
630TextBox textBox; 648else if ((textBox = o as TextBox) != null)