Implemented interface member:
13 references to Count
System.Windows.Forms (11)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (4)
538
for (int i = 0; i < Links.
Count
; i++)
629
List<CharacterRange> ranges = new(Links.
Count
+ 1);
1384
if (FocusLink is null && Links.
Count
> 0)
1487
if (focusIndex < Links.
Count
)
System\Windows\Forms\Controls\Labels\LinkLabel.LinkCollection.cs (4)
168
if (_owner.Links.
Count
> 1)
178
if (_owner.Links.
Count
> 1)
275
for (int i = 0; i <
Count
; i++)
294
return ((index >= 0) && (index <
Count
));
System\Windows\Forms\Controls\Labels\LinkLabel.LinkLabelAccessibleObject.cs (3)
28
=> !this.TryGetOwnerAs(out LinkLabel? owner) ? null : owner.Links.
Count
!= 0
32
=> !this.TryGetOwnerAs(out LinkLabel? owner) ? null : owner.Links.
Count
!= 0
47
public override int GetChildCount() => this.TryGetOwnerAs(out LinkLabel? owner) ? owner.Links.
Count
: 0;
System.Windows.Forms.Tests (2)
LinkLabelTests.cs (1)
116
_linkLabel.Links.
Count
.Should().Be(1);
System\Windows\Forms\AccessibleObjects\LinkLabel.Link.LinkAccessibleObjectTests.cs (1)
220
for (int index = 0; index < linkLabel.Links.
Count
; index++)