1 write to LinkLength
System.Windows.Forms (1)
System\Windows\Forms\Controls\Labels\LinkClickedEventArgs.cs (1)
38LinkLength = linkLength;
12 references to LinkLength
System.Windows.Forms.UI.IntegrationTests (9)
RichTextBoxTests.cs (9)
55Assert.True(result!.LinkStart + result.LinkLength <= richTextBox.Text.Length); 56Assert.Equal(result.LinkText, richTextBox.Text.Substring(result.LinkStart, result.LinkLength)); 61string? displayText = GetTextFromRange(richTextBox, result.LinkStart, result.LinkLength, range => 115Assert.True(result!.LinkStart + result.LinkLength <= richTextBox.Text.Length); 116Assert.Equal(result.LinkText, richTextBox.Text.Substring(result.LinkStart, result.LinkLength)); 119string? hiddenText = GetTextFromRange(richTextBox, result.LinkStart, result.LinkLength, range => 176Assert.True(result!.LinkStart + result.LinkLength <= richTextBox.Text.Length); 177Assert.Equal(result.LinkText, richTextBox.Text.Substring(result.LinkStart, result.LinkLength)); 180string? hiddenText = GetTextFromRange(richTextBox, result.LinkStart, result.LinkLength, range =>
WinFormsControlsTest (3)
RichTextBoxes.cs (3)
63string content = control.Text.Substring(e.LinkStart, e.LinkLength); 64string suffix = control.Text[(e.LinkStart + e.LinkLength)..]; 82LinkLength: {e.LinkLength}