67 references to TextBox
System.Windows.Forms (59)
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (59)
92Rectangle bounds = CommonProperties.GetSpecifiedBounds(TextBox); 93return new Size(bounds.Width, TextBox.PreferredHeight); 167get { return TextBox.AcceptsTab; } 168set { TextBox.AcceptsTab = value; } 176get { return TextBox.AcceptsReturn; } 177set { TextBox.AcceptsReturn = value; } 189get { return TextBox.AutoCompleteCustomSource; } 190set { TextBox.AutoCompleteCustomSource = value; } 199get { return TextBox.AutoCompleteMode; } 200set { TextBox.AutoCompleteMode = value; } 209get { return TextBox.AutoCompleteSource; } 210set { TextBox.AutoCompleteSource = value; } 219get => TextBox.BorderStyle; 220set => TextBox.BorderStyle = value; 229get { return TextBox.CanUndo; } 237get { return TextBox.CharacterCasing; } 238set { TextBox.CharacterCasing = value; } 246get { return TextBox.HideSelection; } 247set { TextBox.HideSelection = value; } 258get { return TextBox.Lines; } 259set { TextBox.Lines = value; } 268get { return TextBox.MaxLength; } 269set { TextBox.MaxLength = value; } 278get { return TextBox.Modified; } 279set { TextBox.Modified = value; } 291get { return TextBox.Multiline; } 292set { TextBox.Multiline = value; } 300get { return TextBox.ReadOnly; } 301set { TextBox.ReadOnly = value; } 311get { return TextBox.SelectedText; } 312set { TextBox.SelectedText = value; } 321get { return TextBox.SelectionLength; } 322set { TextBox.SelectionLength = value; } 331get { return TextBox.SelectionStart; } 332set { TextBox.SelectionStart = value; } 340get { return TextBox.ShortcutsEnabled; } 341set { TextBox.ShortcutsEnabled = value; } 347get { return TextBox.TextLength; } 356get { return TextBox.TextAlign; } 357set { TextBox.TextAlign = value; } 368get { return TextBox.WordWrap; } 369set { TextBox.WordWrap = value; } 435public void AppendText(string? text) { TextBox.AppendText(text); } 436public void Clear() { TextBox.Clear(); } 437public void ClearUndo() { TextBox.ClearUndo(); } 438public void Copy() { TextBox.Copy(); } 439public void Cut() { TextBox.Cut(); } 440public void DeselectAll() { TextBox.DeselectAll(); } 441public char GetCharFromPosition(Point pt) { return TextBox.GetCharFromPosition(pt); } 442public int GetCharIndexFromPosition(Point pt) { return TextBox.GetCharIndexFromPosition(pt); } 443public int GetFirstCharIndexFromLine(int lineNumber) { return TextBox.GetFirstCharIndexFromLine(lineNumber); } 444public int GetFirstCharIndexOfCurrentLine() { return TextBox.GetFirstCharIndexOfCurrentLine(); } 445public int GetLineFromCharIndex(int index) { return TextBox.GetLineFromCharIndex(index); } 446public Point GetPositionFromCharIndex(int index) { return TextBox.GetPositionFromCharIndex(index); } 447public void Paste() { TextBox.Paste(); } 448public void ScrollToCaret() { TextBox.ScrollToCaret(); } 449public void Select(int start, int length) { TextBox.Select(start, length); } 450public void SelectAll() { TextBox.SelectAll(); } 451public void Undo() { TextBox.Undo(); }
System.Windows.Forms.Tests (8)
System\Windows\Forms\AccessibleObjects\ToolStripTextBox.ToolStripTextBoxControlAccessibleObjectTests.cs (8)
16TextBox textBox = toolStripTextBox.TextBox; 27TextBox textBox = toolStripTextBox.TextBox; 39TextBox textBox = toolStripTextBox.TextBox; 52TextBox textBox = toolStripTextBox.TextBox; 64TextBox textBox = toolStripTextBox.TextBox; 76TextBox toolStripTextBoxControl = toolStripTextBox.TextBox; 96TextBox toolStripTextBoxControl = toolStripTextBox.TextBox; 131TextBox toolStripTextBoxControl = toolStripTextBox.TextBox;