2 overrides of WindowText
System.Windows.Forms (2)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1101internal override string WindowText
System\Windows\Forms\Form.cs (1)
2582internal override string WindowText
9 writes to WindowText
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (1)
3234WindowText = value;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
2190WindowText = saved; 2258WindowText = oldText; // restore the window text
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1116base.WindowText = value;
System\Windows\Forms\Form.cs (1)
2588base.WindowText = value;
System.Windows.Forms.Tests (4)
System\Windows\Forms\ControlTests.Properties.cs (4)
13779WindowText = value 13784control.WindowText = value; 13795control.WindowText = value; 13799control.WindowText = value;
13 references to WindowText
System.Windows.Forms (9)
System\Windows\Forms\Control.cs (3)
1226_text ??= WindowText; 3219get => CacheTextInternal ? _text ?? string.Empty : WindowText; 3685if (!WindowText.Equals(value))
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (4)
2184saved = WindowText; 2254string oldText = WindowText; 2256if (!string.IsNullOrEmpty(oldText) && string.IsNullOrEmpty(WindowText)) 2481Text = WindowText;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1103get => base.WindowText;
System\Windows\Forms\Form.cs (1)
2584get => base.WindowText;
System.Windows.Forms.Tests (4)
System\Windows\Forms\ControlTests.Properties.cs (4)
13781Assert.Equal(value ?? string.Empty, control.WindowText); 13785Assert.Equal(value ?? string.Empty, control.WindowText); 13796Assert.Equal(value ?? string.Empty, control.WindowText); 13800Assert.Equal(value ?? string.Empty, control.WindowText);