Base:
property
Text
System.Windows.Forms.Control.Text
5 writes to Text
System.Windows.Forms (5)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
2468
Text
= WindowText;
3422
Text
= s;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
1236
EditingComboBox.
Text
= (string?)GetFormattedValue(
1315
comboBox.
Text
= initialFormattedValueStr;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxEditingControl.cs (1)
46
Text
= valueStr;
13 references to Text
System.Windows.Forms (13)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (11)
23
[DefaultBindingProperty(nameof(
Text
))]
953
get => DropDownStyle == ComboBoxStyle.DropDownList ? string.Empty :
Text
.Substring(SelectionStart, SelectionLength);
1169
string text =
Text
;
2752
string text =
Text
;
2924
Select(0,
Text
.Length);
2925
SelectedText =
Text
;
2927
SelectionLength =
Text
.Length;
2941
int boundaryStart = ClientUtils.GetWordBoundaryStart(
Text
, SelectionStart);
3540
if (FormattingEnabled &&
Text
!= _currentText && _dropDown)
3548
_currentText =
Text
;
3810
Text
,
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxEditingControl.cs (2)
47
if (string.Compare(valueStr,
Text
, true, CultureInfo.CurrentCulture) != 0)
103
public virtual object GetEditingControlFormattedValue(DataGridViewDataErrorContexts context) =>
Text
;