2 writes to Text
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
1349
node.
Text
= _text;
1500
Text
= serializationInfo.GetString(entry.Name);
27 references to Text
System.Windows.Forms (23)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (8)
20
[DefaultProperty(nameof(
Text
))]
1129
string nodeText = node.
Text
;
1138
if (compare.Compare(_children[_childCount - 1].
Text
, nodeText) <= 0)
1148
if (compare.Compare(_children[iT].
Text
, nodeText) <= 0)
1220
if (compare.Compare(_children[j].
Text
, _children[min].
Text
) <= 0)
1499
case nameof(
Text
):
2055
si.AddValue(nameof(
Text
), _text);
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (2)
136
public override string? Name => _owningTreeNode.
Text
;
269
public override string? Value => _owningTreeNode.
Text
;
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (3)
55
throw new ArgumentException(string.Format(SR.OnlyOneControl, value.
Text
), nameof(value));
302
throw new ArgumentException(string.Format(SR.OnlyOneControl, node.
Text
), nameof(node));
438
throw new ArgumentException(string.Format(SR.OnlyOneControl, node.
Text
), nameof(node));
System\Windows\Forms\Controls\TreeView\TreeNodeConverter.cs (4)
53
args = [node.
Text
];
62
args = [node.
Text
, nodesArray];
77
node.
Text
,
97
node.
Text
,
System\Windows\Forms\Controls\TreeView\TreeView.cs (5)
2591
if (node is not null && newText != node.
Text
)
2815
Size textSize = TextRenderer.MeasureText(node.
Text
, node.TreeView!.Font);
2835
TextRenderer.DrawText(g, node.
Text
, font, bounds, color, TextFormatFlags.Default);
2842
TextRenderer.DrawText(g, node.
Text
, font, bounds, color, TextFormatFlags.Default);
2954
tipText = tn.
Text
;
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (1)
227
itemNode.
Text
,
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
1603
_helpTextCtrl.Text = string.Format(CultureInfo.CurrentCulture, (SR.DesignBindingPickerHelpGenCurrentBinding), _selectedNode.
Text
);
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (3)
160
newNode.Name = newNode.
Text
;
165
newNode.Name = newNode.
Text
;
451
_label2.Text = string.Format(SR.CollectionEditorProperties, _treeView1.SelectedNode.
Text
);