Implemented interface member:
12 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)
29
=> !this.TryGetOwnerAs(out LinkLabel? owner) ? null : owner.Links.
Count
!= 0
33
=> !this.TryGetOwnerAs(out LinkLabel? owner) ? null : owner.Links.
Count
!= 0
48
public override int GetChildCount() => this.TryGetOwnerAs(out LinkLabel? owner) ? owner.Links.
Count
: 0;
System.Windows.Forms.Tests (1)
System\Windows\Forms\AccessibleObjects\LinkLabel.Link.LinkAccessibleObjectTests.cs (1)
220
for (int index = 0; index < linkLabel.Links.
Count
; index++)