7 types derived from TextBoxBase
System.Windows.Forms (3)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
24
public partial class RichTextBox :
TextBoxBase
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
25
public partial class MaskedTextBox :
TextBoxBase
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
17
public partial class TextBox :
TextBoxBase
System.Windows.Forms.Tests (4)
System\Windows\Forms\AccessibleObjects\TextBoxBaseAccessibleObjectTests.cs (1)
166
private class SubTextBoxBase :
TextBoxBase
System\Windows\Forms\TextBoxBase.TextBoxBaseUiaTextProviderTests.cs (1)
941
private class SubTextBoxBase :
TextBoxBase
TextBoxBaseTests.cs (2)
728
private class CustomCanUndoTextBoxBase :
TextBoxBase
7788
private class SubTextBoxBase :
TextBoxBase
72 references to TextBoxBase
System.Windows.Forms (12)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1113
/// Make this a method on <see cref="
TextBoxBase
"/> rather than <see cref="RichTextBox"/> (which is the only
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseAccessibleObject.cs (6)
18
public TextBoxBaseAccessibleObject(
TextBoxBase
owner) : base(owner)
25
internal override Rectangle BoundingRectangle => this.IsOwnerHandleCreated(out
TextBoxBase
? owner) ?
30
if (this.TryGetOwnerAs(out
TextBoxBase
? owner))
57
internal override bool IsReadOnly => this.TryGetOwnerAs(out
TextBoxBase
? owner) && owner.ReadOnly;
70
public override string? Value => this.TryGetOwnerAs(out
TextBoxBase
? owner) && !owner.PasswordProtect ? ValueInternal : SR.AccessDenied;
121
public override string? KeyboardShortcut => this.TryGetOwnerAs(out
TextBoxBase
? owner)
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (4)
16
private readonly WeakReference<
TextBoxBase
> _owner;
18
public TextBoxBaseUiaTextProvider(
TextBoxBase
owner)
23
private
TextBoxBase
? Owner => _owner.TryGetTarget(out
TextBoxBase
? owner) ? owner : null;
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControlAccessibleObject.cs (1)
6
using static System.Windows.Forms.
TextBoxBase
;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\TextBoxBaseDesigner.cs (2)
71
((
TextBoxBase
)Control).Select(0, 0);
77
return TypeDescriptor.GetProperties(typeof(
TextBoxBase
))["Text"]!.ShouldSerializeValue(Component);
System.Windows.Forms.Design.Tests (2)
EnsureEditorsTests.cs (2)
129
[InlineData(typeof(
TextBoxBase
), "Lines", typeof(StringArrayEditor))]
130
[InlineData(typeof(
TextBoxBase
), "Text", typeof(MultilineStringEditor))]
System.Windows.Forms.Tests (56)
System\Windows\Forms\AccessibleObjects\TextBoxBaseAccessibleObjectTests.cs (11)
14
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
19
TextBoxBase
.TextBoxBaseAccessibleObject textBoxBaseAccessibleObject = new(textBoxBase);
30
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
44
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
56
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
71
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
82
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
92
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
105
using
TextBoxBase
textBoxBase = new SubTextBoxBase { Size = new Size(width, height) };
121
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
156
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
System\Windows\Forms\TextBoxBase.TextBoxBaseUiaTextProviderTests.cs (39)
8
using static System.Windows.Forms.
TextBoxBase
;
17
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
33
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
50
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
61
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
71
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
80
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
91
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
105
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
115
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
125
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
135
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
148
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
164
using
TextBoxBase
textBoxBase = new SubTextBoxBase { Size = new Size(width, height) };
178
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
188
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
209
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
226
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
253
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
361
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
376
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
522
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
538
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
554
using
TextBoxBase
textBoxBase = new SubTextBoxBase
568
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
579
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
589
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
602
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
753
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
768
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
789
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
804
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
819
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
843
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
861
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
886
using
TextBoxBase
textBoxBase = new SubTextBoxBase
905
using
TextBoxBase
textBoxBase = new SubTextBoxBase
921
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
934
using
TextBoxBase
textBoxBase = new SubTextBoxBase();
TextBoxBaseTests.cs (6)
757
var textBoxBaseAccessibleObject = (
TextBoxBase
.TextBoxBaseAccessibleObject)control.AccessibilityObject;
758
TextBoxBase
.TextBoxBaseUiaTextProvider provider = textBoxBaseAccessibleObject.TestAccessor().Dynamic._textProvider;
760
Assert.IsType<
TextBoxBase
.TextBoxBaseUiaTextProvider>(provider);
773
TextBoxBase
.TextBoxBaseUiaTextProvider provider = control.AccessibilityObject.TestAccessor().Dynamic._textProvider;
775
Assert.IsType<
TextBoxBase
.TextBoxBaseUiaTextProvider>(provider);
782
Assert.IsType<
TextBoxBase
.TextBoxBaseUiaTextProvider>(provider);