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