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)
351Text = value 356notifyIcon.Text = value; 368Text = "OldValue" 371notifyIcon.Text = value; 375notifyIcon.Text = value; 415Text = value 421notifyIcon.Text = value; 430Assert.Throws<ArgumentOutOfRangeException>("Text", () => notifyIcon.Text = new string('a', NotifyIcon.MaxTextSize + 1)); 444notifyIcon.Text = value; 448notifyIcon.Text = value; 778Text = "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)
24Assert.Empty(notifyIcon.Text); 41Assert.Empty(notifyIcon.Text); 353Assert.Equal(expected, notifyIcon.Text); 357Assert.Equal(expected, notifyIcon.Text); 372Assert.Equal(expected, notifyIcon.Text); 376Assert.Equal(expected, notifyIcon.Text); 417Assert.Equal(expected, notifyIcon.Text); 422Assert.Equal(expected, notifyIcon.Text); 445Assert.Equal(expected, notifyIcon.Text); 449Assert.Equal(expected, notifyIcon.Text); 736Assert.Empty(notifyIcon.Text); 750Assert.Empty(notifyIcon.Text); 794Assert.Empty(notifyIcon.Text); 807Assert.Empty(notifyIcon.Text);