12 writes to Text
System.Windows.Forms (1)
System\Windows\Forms\NotifyIcon.cs (1)
393Text = string.Empty;
System.Windows.Forms.Tests (11)
System\Windows\Forms\NotifyIconTests.cs (11)
353Text = value 358notifyIcon.Text = value; 370Text = "OldValue" 373notifyIcon.Text = value; 377notifyIcon.Text = value; 417Text = value 423notifyIcon.Text = value; 432Assert.Throws<ArgumentOutOfRangeException>("Text", () => notifyIcon.Text = new string('a', NotifyIcon.MaxTextSize + 1)); 446notifyIcon.Text = value; 450notifyIcon.Text = value; 780Text = "Text",
16 references to Text
System.Windows.Forms (2)
System\Windows\Forms\NotifyIcon.cs (2)
12[DefaultProperty(nameof(Text))] 244throw new ArgumentOutOfRangeException(nameof(Text), value, SR.TrayIcon_TextTooLong);
System.Windows.Forms.Tests (14)
System\Windows\Forms\NotifyIconTests.cs (14)
26Assert.Empty(notifyIcon.Text); 43Assert.Empty(notifyIcon.Text); 355Assert.Equal(expected, notifyIcon.Text); 359Assert.Equal(expected, notifyIcon.Text); 374Assert.Equal(expected, notifyIcon.Text); 378Assert.Equal(expected, notifyIcon.Text); 419Assert.Equal(expected, notifyIcon.Text); 424Assert.Equal(expected, notifyIcon.Text); 447Assert.Equal(expected, notifyIcon.Text); 451Assert.Equal(expected, notifyIcon.Text); 738Assert.Empty(notifyIcon.Text); 752Assert.Empty(notifyIcon.Text); 796Assert.Empty(notifyIcon.Text); 809Assert.Empty(notifyIcon.Text);