4 writes to Start
System.Windows.Forms (2)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
191
_links[0].
Start
= value.Start;
System\Windows\Forms\Controls\Labels\LinkLabel.LinkCollection.cs (1)
130
Start
= start,
System.Windows.Forms.Tests (2)
System\Windows\Forms\LinkTests.cs (2)
149
Start
= value
154
link.
Start
= value;
36 references to Start
System.Windows.Forms (28)
System\Windows\Forms\Controls\Labels\LinkConverter.cs (3)
94
intConverter.ConvertToString(context, culture, link.
Start
),
106
new object[] { link.
Start
, link.Length },
112
new object[] { link.
Start
, link.Length, link.LinkData },
System\Windows\Forms\Controls\Labels\LinkLabel.cs (18)
167
: new LinkArea(_links[0].
Start
, _links[0].Length);
541
int charStart = ConvertToCharIndex(link.
Start
, text);
542
int charEnd = ConvertToCharIndex(link.
Start
+ link.Length, text);
633
int charStart = ConvertToCharIndex(link.
Start
, text);
634
int charEnd = ConvertToCharIndex(link.
Start
+ link.Length, text);
637
int length = Math.Min(link.Length, textLen - link.
Start
);
638
ranges.Add(new CharacterRange(charStart, ConvertToCharIndex(link.
Start
+ length, text) - charStart));
1389
int charStart = ConvertToCharIndex(link.
Start
, text);
1390
int charEnd = ConvertToCharIndex(link.
Start
+ link.Length, text);
1490
charStart = ConvertToCharIndex(test.
Start
, text);
1491
charEnd = ConvertToCharIndex(test.
Start
+ test.Length, text);
1510
charStart = ConvertToCharIndex(test.
Start
, text);
1511
charEnd = ConvertToCharIndex(test.
Start
+ test.Length, text);
1609
return Links[0].
Start
!= 0 || Links[0]._length != -1;
1680
int maxStart = Math.Max(left.
Start
, right.
Start
);
1681
int minEnd = Math.Min(left.
Start
+ left.Length, right.
Start
+ right.Length);
System\Windows\Forms\Controls\Labels\LinkLabel.Link.cs (1)
86
return stringInfo.LengthInTextElements -
Start
;
System\Windows\Forms\Controls\Labels\LinkLabel.Link.LinkAccessibleObject.cs (2)
116
int start = ConvertToCharIndex(_owningLink.
Start
, text);
117
int end = ConvertToCharIndex(_owningLink.
Start
+ _owningLink.Length, text);
System\Windows\Forms\Controls\Labels\LinkLabel.LinkCollection.cs (2)
121
&& this[0].
Start
== 0
149
&& this[0].
Start
== 0
System\Windows\Forms\Controls\Labels\LinkLabel.LinkComparer.cs (2)
12
int pos1 = link1?.
Start
?? -1;
13
int pos2 = link2?.
Start
?? -1;
System.Windows.Forms.Tests (8)
System\Windows\Forms\LinkCollectionTests.cs (1)
88
link.
Start
.Should().Be(start);
System\Windows\Forms\LinkConverterTests.cs (2)
145
Assert.Equal(expectedLink.
Start
, actualLink.
Start
);
System\Windows\Forms\LinkTests.cs (5)
18
Assert.Equal(0, link.
Start
);
37
Assert.Equal(start, link.
Start
);
56
Assert.Equal(start, link.
Start
);
151
Assert.Equal(value, link.
Start
);
155
Assert.Equal(value, link.
Start
);