2 writes to Start
System.Windows.Forms.Tests (2)
System\Windows\Forms\LinkAreaTests.cs (2)
40Start = value 45area.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; 52public override readonly string ToString() => $"{{Start={Start}, Length={Length}}}";
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (4)
98intConverter.ConvertToString(context, culture, pt.Start), 107new object[] { pt.Start, pt.Length }); 126(int)propertyValues[nameof(Start)]!, 154return props.Sort([nameof(Start), nameof(Length)]);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (7)
176if (value.Start < 0) 186if (value.Start != 0 || !value.IsEmpty) 191_links[0].Start = value.Start; 458return LinkArea.Start == 0 && (LinkArea.IsEmpty || LinkArea.Length == new StringInfo(Text).LengthInTextElements); 659if (LinkArea.Start == 0 && LinkArea.Length == stringInfo.LengthInTextElements) 1700int charStart = ConvertToCharIndex(pt.Start, text); 1701int 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)
62selectionStart.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 } 205Assert.Equal(nameof(LinkArea.Start), properties[0].Name);
System\Windows\Forms\LinkAreaTests.cs (4)
15Assert.Equal(0, area.Start); 29Assert.Equal(start, area.Start); 42Assert.Equal(value, area.Start); 46Assert.Equal(value, area.Start);