2 writes to Start
System.Windows.Forms.Tests (2)
System\Windows\Forms\LinkAreaTests.cs (2)
40
Start
= value
45
area.
Start
= value;
27 references to Start
System.Windows.Forms (13)
System\Windows\Forms\Controls\Labels\LinkArea.cs (2)
50
=> other.
Start
== start && other.Length == length;
52
public override readonly string ToString() => $"{{Start={
Start
}, Length={Length}}}";
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (4)
98
intConverter.ConvertToString(context, culture, pt.
Start
),
107
new object[] { pt.
Start
, pt.Length });
126
(int)propertyValues[nameof(
Start
)]!,
154
return props.Sort([nameof(
Start
), nameof(Length)]);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (7)
176
if (value.
Start
< 0)
186
if (value.
Start
!= 0 || !value.IsEmpty)
191
_links[0].Start = value.
Start
;
458
return LinkArea.
Start
== 0 && (LinkArea.IsEmpty || LinkArea.Length == new StringInfo(Text).LengthInTextElements);
659
if (LinkArea.
Start
== 0 && LinkArea.Length == stringInfo.LengthInTextElements)
1700
int charStart = ConvertToCharIndex(pt.
Start
, text);
1701
int charEnd = ConvertToCharIndex(pt.
Start
+ pt.Length, text);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\LinkAreaEditor.LinkAreaUI.cs (1)
145
_sampleEdit.SelectionStart = linkArea.
Start
;
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\LinkAreaEditor.LinkAreaUITests.cs (1)
62
selectionStart.Should().Be(linkArea.
Start
);
System.Windows.Forms.Tests (12)
LinkLabelTests.cs (1)
21
_linkLabel.LinkArea.
Start
.Should().Be(0);
System\Windows\Forms\LinkAreaConverterTests.cs (7)
120
{ nameof(LinkArea.
Start
), 1 },
139
{ nameof(LinkArea.
Start
), new object() },
147
{ nameof(LinkArea.
Start
), null },
163
{ nameof(LinkArea.
Start
), 1 },
171
{ nameof(LinkArea.
Start
), 1 },
179
{ nameof(LinkArea.
Start
), 1 }
205
Assert.Equal(nameof(LinkArea.
Start
), properties[0].Name);
System\Windows\Forms\LinkAreaTests.cs (4)
15
Assert.Equal(0, area.
Start
);
29
Assert.Equal(start, area.
Start
);
42
Assert.Equal(value, area.
Start
);
46
Assert.Equal(value, area.
Start
);